diff options
author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2023-06-12 14:58:57 +0300 |
---|---|---|
committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2023-06-23 11:35:49 +0300 |
commit | 53431798f4bb60d214ae1ec4a79eefdd414f577b (patch) | |
tree | dd00af259a7a2817255ddf343c544cde2a08f9f4 /kernel/configs/x86_debug.config | |
parent | a2bd0c08a459b4cb8da57cc9c754de5e45d7a61e (diff) | |
download | linux-53431798f4bb60d214ae1ec4a79eefdd414f577b.tar.xz |
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 'kernel/configs/x86_debug.config')
0 files changed, 0 insertions, 0 deletions