summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2022-03-05 04:01:29 +0300
committerAlexei Starovoitov <ast@kernel.org>2022-03-05 20:38:15 +0300
commitaa963bcb0adc1adb79a97260fae55461359d1ed2 (patch)
tree747d03d7ffb7833456ee26b4c556f35de7d8e487 /tools/perf/scripts/python/syscall-counts.py
parent697f104db8a6177daa5e1ffadda09c2e9285ad18 (diff)
downloadlinux-aa963bcb0adc1adb79a97260fae55461359d1ed2.tar.xz
selftests/bpf: Add custom SEC() handling selftest
Add a selftest validating various aspects of libbpf's handling of custom SEC() handlers. It also demonstrates how libraries can ensure very early callbacks registration and unregistration using __attribute__((constructor))/__attribute__((destructor)) functions. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Tested-by: Alan Maguire <alan.maguire@oracle.com> Reviewed-by: Alan Maguire <alan.maguire@oracle.com> Link: https://lore.kernel.org/bpf/20220305010129.1549719-4-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions