-
Notifications
You must be signed in to change notification settings - Fork 380
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
tetragon: cgroup rework preparation #343
Conversation
Seems some checkpatch rules will clash with clang-format ones ! anyway reports here are not related to the lines of code changed in this series... |
Can you please open an issue with the offending code so that we can tackle it at a later point in time? |
Sure, please see here: #344 |
Explicitly use '/run/' prefix instead of '/var/run' which may fail when we operate on file systems from /proc and try to discover the real mount point instead of the mount source. See man page of proc section: /proc/[pid]/mountinfo , fields 4 and 10 they can be different. Field 4 is the absolute truth. Signed-off-by: Djalal Harouni <[email protected]>
This patch adds raw_tracepoint support which are used in following patches to trace cgroup events. Signed-off-by: Djalal Harouni <[email protected]>
Allow loading raw_tracepoint programs. Signed-off-by: Djalal Harouni <[email protected]>
Signed-off-by: Djalal Harouni <[email protected]>
get_task_pid_vnr() will also be used by cgroups so let's move it to bpf/lib/bpf_events.h Signed-off-by: Djalal Harouni <[email protected]> Signed-off-by: Kornilios Kourtis <[email protected]>
Signed-off-by: Djalal Harouni <[email protected]>
445c50f
to
ec4ee86
Compare
This is a preparation PR to get some patches merged from #225 to easy review on it.
Only major change here is : support of raw tracepoints