Merge tag 'probes-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull probes updates from Masami Hiramatsu: "Cleanups: - kprobes: Fixes typo in kprobes samples - tracing/eprobes: Remove 'break' after return kretprobe/fprobe performance improvements: - lib: Introduce new `objpool`, which is a high performance lockless object queue. This uses per-cpu ring array to allocate/release objects from the pre-allocated object pool. Since the index of ring array is a 32bit sequential counter, we can retry to push/pop the object pointer from the ring without lock (as seq-lock does) - lib: Add an objpool test module to test the functionality and evaluate the performance under some circumstances - kprobes/fprobe: Improve kretprobe and rethook scalability performance with objpool. This improves both legacy kretprobe and fprobe exit handler (which is based on rethook) to be scalable on SMP systems. Even with 8-threads parallel test, it shows a great scalability improvement - Remove unneeded freelist.h which is replaced by objpool - objpool: Add maintainers entry for the objpool - objpool: Fix to remove unused include header lines" * tag 'probes-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: kprobes: unused header files removed MAINTAINERS: objpool added kprobes: freelist.h removed kprobes: kretprobe scalability improvement lib: objpool test module added lib: objpool added: ring-array based lockless MPMC tracing/eprobe: drop unneeded breaks samples: kprobes: Fixes a typo
No related branches found
No related tags found
Showing
- MAINTAINERS 7 additions, 0 deletionsMAINTAINERS
- include/linux/freelist.h 0 additions, 129 deletionsinclude/linux/freelist.h
- include/linux/kprobes.h 3 additions, 8 deletionsinclude/linux/kprobes.h
- include/linux/objpool.h 181 additions, 0 deletionsinclude/linux/objpool.h
- include/linux/rethook.h 4 additions, 12 deletionsinclude/linux/rethook.h
- kernel/kprobes.c 39 additions, 52 deletionskernel/kprobes.c
- kernel/trace/fprobe.c 10 additions, 18 deletionskernel/trace/fprobe.c
- kernel/trace/rethook.c 39 additions, 51 deletionskernel/trace/rethook.c
- kernel/trace/trace_eprobe.c 1 addition, 4 deletionskernel/trace/trace_eprobe.c
- lib/Kconfig.debug 11 additions, 0 deletionslib/Kconfig.debug
- lib/Makefile 3 additions, 1 deletionlib/Makefile
- lib/objpool.c 280 additions, 0 deletionslib/objpool.c
- lib/test_objpool.c 690 additions, 0 deletionslib/test_objpool.c
- samples/kprobes/kretprobe_example.c 1 addition, 1 deletionsamples/kprobes/kretprobe_example.c
Loading
Please register or sign in to comment