diff options
author | Jiri Olsa <jolsa@kernel.org> | 2023-05-15 16:37:54 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-05-17 08:09:23 +0300 |
commit | f26ebdd3e4e4e1f5f08522b087ab9ec7216e9a3b (patch) | |
tree | c17f2d702cbb5404b91d8f83fa1b80bb09fc70e1 /tools/perf/scripts/python/stackcollapse.py | |
parent | b23b385fa18f2196872bc3337c98ddd221c2827b (diff) | |
download | linux-f26ebdd3e4e4e1f5f08522b087ab9ec7216e9a3b.tar.xz |
selftests/bpf: Allow to use kfunc from testmod.ko in test_verifier
Currently the test_verifier allows test to specify kfunc symbol
and search for it in the kernel BTF.
Adding the possibility to search for kfunc also in bpf_testmod
module when it's not found in kernel BTF.
To find bpf_testmod btf we need to get back SYS_ADMIN cap.
Acked-by: David Vernet <void@manifault.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20230515133756.1658301-9-jolsa@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions