aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorAlan Maguire <[email protected]>2024-06-20 10:17:33 +0100
committerAndrii Nakryiko <[email protected]>2024-06-21 14:46:29 -0700
commit47a8cf0c5b3f6769b9d558301735c75119a0a165 (patch)
tree4af832750443c5224152d4bdae82c8e69fc674c8 /tools/perf/scripts/python/check-perf-trace.py
parent46fb0b62ea29c0dbcb3e44f1d67aafe79bc6e045 (diff)
selftests/bpf: Add kfunc_call test for simple dtor in bpf_testmod
add simple kfuncs to create/destroy a context type to bpf_testmod, register them and add a kfunc_call test to use them. This provides test coverage for registration of dtor kfuncs from modules. By transferring the context pointer to a map value as a __kptr we also trigger the map-based dtor cleanup logic, improving test coverage. Suggested-by: Eduard Zingerman <[email protected]> Signed-off-by: Alan Maguire <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions