summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorYonghong Song <yonghong.song@linux.dev>2024-03-25 21:15:23 -0700
committerAlexei Starovoitov <ast@kernel.org>2024-03-28 18:31:41 -0700
commit6302bdeb91df9b4484b9d537c29f8b6117f3f73d (patch)
treea9404bc5f4df93821255a1867c7365b5ddae9d1e /scripts/generate_rust_analyzer.py
parent9edaafadc2c50f2af99ee5b3bad6831e1b6ad54f (diff)
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>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions