]> Gentwo Git Trees - linux/.git/commit
tracing: uprobe: eprobes: Allocate traceprobe_parse_context per probe
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Thu, 25 Sep 2025 00:56:48 +0000 (09:56 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Fri, 31 Oct 2025 16:10:29 +0000 (01:10 +0900)
commit84404ce71a4b56ab979eb739dd94cf66b049b112
treef763b5c3009defb423b5084e3e307196a1b3cb9d
parent8b658df206586f85cf19097068660203fa1253bd
tracing: uprobe: eprobes: Allocate traceprobe_parse_context per probe

Since traceprobe_parse_context is reusable among a probe arguments,
it is more efficient to allocate it outside of the loop for parsing
probe argument as kprobe and fprobe events do.

Link: https://lore.kernel.org/all/175509541393.193596.16330324746701582114.stgit@devnote2/
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
kernel/trace/trace_eprobe.c
kernel/trace/trace_uprobe.c