diff options
author | 2022-03-04 17:01:29 -0800 | |
---|---|---|
committer | 2022-03-05 09:38:15 -0800 | |
commit | aa963bcb0adc1adb79a97260fae55461359d1ed2 (patch) | |
tree | 747d03d7ffb7833456ee26b4c556f35de7d8e487 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | libbpf: Support custom SEC() handlers (diff) | |
download | linux-dev-aa963bcb0adc1adb79a97260fae55461359d1ed2.tar.xz linux-dev-aa963bcb0adc1adb79a97260fae55461359d1ed2.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions