tracing/probes: Cleanup probe argument parser
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Mon, 4 Mar 2024 03:40:26 +0000 (12:40 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Wed, 6 Mar 2024 15:27:06 +0000 (00:27 +0900)
commit032330abd08b4da56e39e98aa4d9a9079cbe1d15
tree453bf92a9d68f03eff29e23bf6a4893ff83055f4
parent7e37b6bc3cc096e24709908076807bb9c3cf0d38
tracing/probes: Cleanup probe argument parser

Cleanup traceprobe_parse_probe_arg_body() to split out the
type parser and post-processing part of fetch_insn.
This makes no functional change.

Link: https://lore.kernel.org/all/170952362603.229804.9942703761682605372.stgit@devnote2/
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace_probe.c