diff options
| author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2024-03-04 06:40:36 +0300 |
|---|---|---|
| committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2024-03-06 18:27:15 +0300 |
| commit | 035ba76014c096316fa809a46ce0a1b9af1cde0d (patch) | |
| tree | 9bd6baeb02aacef945ce12f1d37c65069cfb6232 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | 032330abd08b4da56e39e98aa4d9a9079cbe1d15 (diff) | |
| download | linux-035ba76014c096316fa809a46ce0a1b9af1cde0d.tar.xz | |
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/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
