Thread (20 messages) 20 messages, 3 authors, 2024-03-03

Re: [PATCH v2 3/7] tracing/probes: cleanup: Set trace_probe::nr_args at trace_probe_init

From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Date: 2024-03-03 15:48:27
Also in: linux-doc, linux-kselftest, lkml

On Thu, 29 Feb 2024 22:37:53 -0500
Steven Rostedt [off-list ref] wrote:
On Mon, 26 Feb 2024 12:58:23 +0900
"Masami Hiramatsu (Google)" [off-list ref] wrote:
quoted
From: Masami Hiramatsu (Google) <mhiramat@kernel.org>

Instead of incrementing the trace_probe::nr_args, init it at trace_probe_init().
This is a cleanup, so the behavior is not changed.
The change is fine, but the change log does not say why this was done.
This change is to get the number of trace_probe arguments while parsing
the argument strings.

Thank you,
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>

-- Steve

quoted
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
---

-- 
Masami Hiramatsu (Google) [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help