aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2024-04-27 20:09:54 -0700
committerMartin KaFai Lau <[email protected]>2024-04-29 16:48:33 -0700
commit1bba3b3d373dbafae891e7cb06b8c82c8d62aba1 (patch)
treea0dbfaaf0e1970a93b7b2536632329019a219d49 /tools/perf/scripts/python/flamegraph.py
parentf973fccd43d34b096077d5d21d051ef75b22a7ea (diff)
selftests/bpf: validate nulled-out struct_ops program is handled properly
Add a selftests validating that it's possible to have some struct_ops callback set declaratively, then disable it (by setting to NULL) programmatically. Libbpf should detect that such program should not be loaded. Otherwise, it will unnecessarily fail the loading when the host kernel does not have the type information. Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions