Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] evt stress tool #4344

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

geyslan
Copy link
Member

@geyslan geyslan commented Oct 9, 2024

1. Explain what the PR does

2. Explain how to test it

3. Other comments

@geyslan geyslan self-assigned this Oct 9, 2024
@geyslan geyslan changed the title [DRAFT] Evt stress tool [DRAFT] evt stress tool Oct 9, 2024
@geyslan
Copy link
Member Author

geyslan commented Oct 9, 2024

This is a WIP.

@geyslan geyslan force-pushed the evt-stress-tool branch 2 times, most recently from 49c9812 to 28dda9c Compare October 14, 2024 18:29
Enabled only when the build with DEBUG=1.

BPFPerfEventWrites counts the number of events processed by the eBPF
programs and written to the perf event buffer.

It is incremented right before the event is written to the perf buffer,
making it possible to measure even if the event is lost.

This metric can be used to monitor the performance of individual eBPF
events and to detect potential bottlenecks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant