diff options
author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2023-06-12 13:58:57 +0200 |
---|---|---|
committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2023-06-23 10:35:49 +0200 |
commit | 53431798f4bb60d214ae1ec4a79eefdd414f577b (patch) | |
tree | dd00af259a7a2817255ddf343c544cde2a08f9f4 /Documentation/trace | |
parent | Documentation: Fix typo of reference file name (diff) | |
download | linux-53431798f4bb60d214ae1ec4a79eefdd414f577b.tar.xz linux-53431798f4bb60d214ae1ec4a79eefdd414f577b.zip |
tracing/probes: Fix tracepoint event with $arg* to fetch correct argument
To hide the first dummy 'data' argument on the tracepoint probe events,
the BTF argument array was modified (skip the first argument for tracepoint),
but the '$arg*' meta argument parser missed that.
Fix to increment the argument index if it is tracepoint probe. And decrement
the index when searching the type of the argument.
Link: https://lore.kernel.org/all/168657113778.3038017.12245893750241701312.stgit@mhiramat.roam.corp.google.com/
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'Documentation/trace')
0 files changed, 0 insertions, 0 deletions