aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2022-03-04 17:01:29 -0800
committerAlexei Starovoitov <[email protected]>2022-03-05 09:38:15 -0800
commitaa963bcb0adc1adb79a97260fae55461359d1ed2 (patch)
tree747d03d7ffb7833456ee26b4c556f35de7d8e487 /lib/string_helpers.c
parent697f104db8a6177daa5e1ffadda09c2e9285ad18 (diff)
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 <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Tested-by: Alan Maguire <[email protected]> Reviewed-by: Alan Maguire <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions