summaryrefslogtreecommitdiff
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorMenglong Dong <menglong8.dong@gmail.com>2025-10-15 16:32:37 +0800
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>2025-11-11 22:32:09 +0900
commit2c67dc457bc67367dc8fcd8f471ce2d5bb5f7b2b (patch)
treeb59ca28fc928398f08b8f1dc84a14e2a976bc3b2 /fs/proc/array.c
parente667152e0064acf1a308a1816719008e29bec76f (diff)
tracing: fprobe: optimization for entry only case
For now, fgraph is used for the fprobe, even if we need trace the entry only. However, the performance of ftrace is better than fgraph, and we can use ftrace_ops for this case. Then performance of kprobe-multi increases from 54M to 69M. Before this commit: $ ./benchs/run_bench_trigger.sh kprobe-multi kprobe-multi : 54.663 ± 0.493M/s After this commit: $ ./benchs/run_bench_trigger.sh kprobe-multi kprobe-multi : 69.447 ± 0.143M/s Mitigation is disable during the bench testing above. Link: https://lore.kernel.org/all/20251015083238.2374294-2-dongml2@chinatelecom.cn/ Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn> Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions