diff options
| author | Andrii Nakryiko <[email protected]> | 2024-04-27 20:09:54 -0700 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2024-04-29 16:48:33 -0700 |
| commit | 1bba3b3d373dbafae891e7cb06b8c82c8d62aba1 (patch) | |
| tree | a0dbfaaf0e1970a93b7b2536632329019a219d49 /tools/perf/scripts/python | |
| parent | f973fccd43d34b096077d5d21d051ef75b22a7ea (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')
0 files changed, 0 insertions, 0 deletions