aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorYonghong Song <[email protected]>2018-06-03 15:59:43 -0700
committerAlexei Starovoitov <[email protected]>2018-06-03 18:22:41 -0700
commitf269099a7e7a0c6732c4a817d0e99e92216414d9 (patch)
tree74151563ca1a780f930b7537846123d165af5829 /scripts/bpf_helpers_doc.py
parentc7ddbbaf1e73e2f4e95cfda7b1da1be7fd199a4d (diff)
tools/bpf: add a selftest for bpf_get_current_cgroup_id() helper
Syscall name_to_handle_at() can be used to get cgroup id for a particular cgroup path in user space. The selftest got cgroup id from both user and kernel, and compare to ensure they are equal to each other. Acked-by: Alexei Starovoitov <[email protected]> Signed-off-by: Yonghong Song <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions