-
Notifications
You must be signed in to change notification settings - Fork 244
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
Support BCC perf maps #102
Conversation
d83d984
to
5ab5698
Compare
Now that I think of it, there are other counting programs, such as cgroup.yaml, that can benefit from it. This approach removes the unbounded growth of BPF_HASHes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intention looks good (if I understand it correctly), but some changes and docs are needed.
996d087
to
d2d9709
Compare
d2d9709
to
dfc20e3
Compare
Co-authored-by: Ivan Babrou <[email protected]>
In addition to your latest comment, I think I'll add an OOM example with tracepoints. I believe it could be useful to illustrate both approaches to this problem in the examples. That's why I'll do it in a follow-up PR. |
Thanks! |
PerfMap
. You can reference it via BPF_PERF_OUTPUT and perf_submit in the C code.