Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding kfunc return trampoline probe if available instead of kprobe/kretprobe probes. The kfunc trampolines are faster - less intrusive. Below are stats for running perf bench sched pipe benchamark while running vfsstat.py on the background for kprobes and kfuncs. With kprobes: Performance counter stats for './perf bench sched pipe -l 5000000' (3 runs): 112,520,853,574 cycles:k 48.674 +- 0.672 seconds time elapsed ( +- 1.38% ) With kfuncs: Performance counter stats for './perf bench sched pipe -l 5000000' (3 runs): 106,304,165,424 cycles:k 46.820 +- 0.197 seconds time elapsed ( +- 0.42% ) Signed-off-by: Jiri Olsa <jolsa@kernel.org>
- Loading branch information