Searched hist:"6302 bdeb91df9b4484b9d537c29f8b6117f3f73d" (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | kprobe_multi_test.c | diff 6302bdeb91df9b4484b9d537c29f8b6117f3f73d Tue Mar 26 05:15:23 CET 2024 Yonghong Song <yonghong.song@linux.dev> selftests/bpf: Add a kprobe_multi subtest to use addrs instead of syms
Get addrs directly from available_filter_functions_addrs and send to the kernel during kprobe_multi_attach. This avoids consultation of /proc/kallsyms. But available_filter_functions_addrs is introduced in 6.5, i.e., it is introduced recently, so I skip the test if the kernel does not support it.
Signed-off-by: Yonghong Song <yonghong.song@linux.dev> Link: https://lore.kernel.org/r/20240326041523.1200301-1-yonghong.song@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|