diff options
author | Roman Gushchin <[email protected]> | 2017-12-13 15:18:54 +0000 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2017-12-14 13:37:13 +0100 |
commit | 5ccda64d38cc2800e3c7fab42a2fea46d44693e9 (patch) | |
tree | 3efa08b5e65d54e15de2ca811f85f430148b7a39 /tools/perf/scripts/python/syscall-counts.py | |
parent | 49a086c201a9356287471aa5846a427bdcecc4f7 (diff) |
bpftool: implement cgroup bpf operations
This patch adds basic cgroup bpf operations to bpftool:
cgroup list, attach and detach commands.
Usage is described in the corresponding man pages,
and examples are provided.
Syntax:
$ bpftool cgroup list CGROUP
$ bpftool cgroup attach CGROUP ATTACH_TYPE PROG [ATTACH_FLAGS]
$ bpftool cgroup detach CGROUP ATTACH_TYPE PROG
Signed-off-by: Roman Gushchin <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: Martin KaFai Lau <[email protected]>
Cc: Quentin Monnet <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions