summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-03-24 23:57:42 -0700
committerAlexei Starovoitov <ast@kernel.org>2020-03-26 16:38:13 -0700
commite28784e3781e19f546bd2c2cd7c1c4e7c54e7f73 (patch)
treecdd406fb52ca535e682513416117b13ceeab2887 /tools/perf/scripts/python/syscall-counts.py
parent00c4eddf7ee5cb4941d669d605815454dc9a5419 (diff)
bpf: Factor out attach_type to prog_type mapping for attach/detach
Factor out logic mapping expected program attach type to program type and subsequent handling of program attach/detach. Also list out all supported cgroup BPF program types explicitly to prevent accidental bugs once more program types are added to a mapping. Do the same for prog_query API. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200325065746.640559-3-andriin@fb.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions