Merge branch 'kallsyms: Optimize the search for module symbols by livepatch and bpf'
Jiri Olsa says: ==================== hi, sending new version of [1] patchset posted originally by Zhen Lei. It contains 2 changes that improove search performance for livepatch and bpf. v3 changes: - fixed off by 1 issue, simplified condition, added acks [Song] - added module attach as subtest [Andrii] v2 changes: - reworked the bpf change and meassured the performance - adding new selftest to benchmark kprobe multi module attachment - skipping patch 3 as requested by Zhen Lei - added Reviewed-by for patch 1 [Petr Mladek] thanks, jirka [1] https://lore.kernel.org/bpf/20221230112729.351-1-thunder.leizhen@huawei.com/ --- Jiri Olsa (2): selftests/bpf: Add serial_test_kprobe_multi_bench_attach_kernel/module tests bpf: Change modules resolving for kprobe multi link ==================== Signed-off-by:Alexei Starovoitov <ast@kernel.org>
No related branches found
No related tags found
Showing
- include/linux/module.h 4 additions, 2 deletionsinclude/linux/module.h
- kernel/livepatch/core.c 1 addition, 9 deletionskernel/livepatch/core.c
- kernel/module/kallsyms.c 12 additions, 1 deletionkernel/module/kallsyms.c
- kernel/trace/bpf_trace.c 47 additions, 46 deletionskernel/trace/bpf_trace.c
- kernel/trace/ftrace.c 1 addition, 1 deletionkernel/trace/ftrace.c
- tools/testing/selftests/bpf/prog_tests/kprobe_multi_test.c 14 additions, 5 deletionstools/testing/selftests/bpf/prog_tests/kprobe_multi_test.c
Loading
Please register or sign in to comment