mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
selftests/bpf: move get_ksyms and get_addrs to trace_helpers.c
[ Upstream commit8bad31edf5] We need to get all the kernel function that can be traced sometimes, so we move the get_syms() and get_addrs() in kprobe_multi_test.c to trace_helpers.c and rename it to bpf_get_ksyms() and bpf_get_addrs(). Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn> Link: https://lore.kernel.org/r/20250904021011.14069-2-dongml2@chinatelecom.cn Signed-off-by: Alexei Starovoitov <ast@kernel.org> Stable-dep-of:0c342bfc99("selftests/bpf: Fix realloc size in bpf_get_addrs") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
deaffa5e62
commit
a4427120c2
3 changed files with 220 additions and 217 deletions
Loading…
Add table
Add a link
Reference in a new issue