diff options
author | Jiri Olsa <[email protected]> | 2022-10-25 15:41:45 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-10-25 10:14:51 -0700 |
commit | 10705b2b7a8e4eb46ab5bf1b9ee354cb9a929428 (patch) | |
tree | 28ea808e4c2038d55d61ab9b0df5b4e3a3e33c08 /tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c | |
parent | e22061b2d3095c12f90336479f24bf5eeb70e1bd (diff) |
selftests/bpf: Add load_kallsyms_refresh function
Adding load_kallsyms_refresh function to re-read symbols from
/proc/kallsyms file.
This will be needed to get proper functions addresses from
bpf_testmod.ko module, which is loaded/unloaded several times
during the tests run, so symbols might be already old when
we need to use them.
Acked-by: Song Liu <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c')
0 files changed, 0 insertions, 0 deletions