-
Notifications
You must be signed in to change notification settings - Fork 443
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
Add cgroup bcc flag for compilation #1748
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: AdityaAtulTewari <[email protected]>
Signed-off-by: AdityaAtulTewari <[email protected]>
Signed-off-by: AdityaAtulTewari <[email protected]>
Signed-off-by: AdityaAtulTewari <[email protected]>
Signed-off-by: AdityaAtulTewari <[email protected]>
a47e3b2
to
f389cc3
Compare
Signed-off-by: AdityaAtulTewari <[email protected]>
4acaa62
to
2f2a5e8
Compare
Signed-off-by: AdityaAtulTewari <[email protected]>
…resource to support concatenated (not preprocessed) header files Signed-off-by: Dom Del Nano <[email protected]>
@AdityaAtulTewari sorry for the late reply here. The solution I envisioned was what I've implemented in 3bab3f0. That change isn't production ready, but shows how the
In order to move forward with this, I think we will need some feedback on this approach from @vihangm and @JamesMBartlett. If this is something we are comfortable with, then we can shape up what I've prototyped. |
Summary: This is to ensure that the reversions in #1738 are not necessary for #1638. It enables a flag for bcc compilation for detecting that the
bpf_get_current_cgroup_id
exists within that kernel version. That flag isGET_CGROUP_ID_ENABLED
. And an example of it's usage is insrc/stirling/bpf_tools/testdata/get_current_cgroup_id.c
.Type of change: /kind feature
Test Plan: Automated test added to ensure that this feature is enabled and works.
Signed-off-as: AdityaAtulTewari [email protected]