-
Notifications
You must be signed in to change notification settings - Fork 127
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
tctracer: move maps to their own files #1796
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1796 +/- ##
==========================================
- Coverage 67.23% 67.16% -0.08%
==========================================
Files 219 219
Lines 22605 22605
==========================================
- Hits 15199 15183 -16
- Misses 6634 6645 +11
- Partials 772 777 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Thanks for the reorganization!! For curiosity from a non-C guy: what's the reason to put all of them in different include files instead of moving them all together to a single "tctracer_maps.h" file?
@mariomac normally in a non-eBPF realms that's exactly what I'd have done. But with eBPF (and in particular, ebpf2go), what happens is that the final For shared maps (those shared across tracers and living in the toplevel For private maps, your approach would work, but I've opted to stick to the approach used for the shared maps for a few reasons:
|
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.
LGTM!
This is a part of what should be a series or PRs that aim to tide up our ebpf code.
This one just moves the private tctracer maps to their own subdir.