diff options
author | Masami Hiramatsu (Google) | 2024-03-04 12:40:36 +0900 |
---|---|---|
committer | Masami Hiramatsu (Google) | 2024-03-07 00:27:15 +0900 |
commit | 035ba76014c096316fa809a46ce0a1b9af1cde0d (patch) | |
tree | 9bd6baeb02aacef945ce12f1d37c65069cfb6232 /scripts | |
parent | 032330abd08b4da56e39e98aa4d9a9079cbe1d15 (diff) |
tracing/probes: cleanup: Set trace_probe::nr_args at trace_probe_init
Instead of incrementing the trace_probe::nr_args, init it at
trace_probe_init(). Without this change, there is no way to get the number
of trace_probe arguments while parsing it.
This is a cleanup, so the behavior is not changed.
Link: https://lore.kernel.org/all/170952363585.229804.13060759900346411951.stgit@devnote2/
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions