summaryrefslogtreecommitdiff
path: root/lib/test_fprobe.c
diff options
context:
space:
mode:
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>2023-06-12 14:58:57 +0300
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>2023-06-23 11:35:49 +0300
commit53431798f4bb60d214ae1ec4a79eefdd414f577b (patch)
treedd00af259a7a2817255ddf343c544cde2a08f9f4 /lib/test_fprobe.c
parenta2bd0c08a459b4cb8da57cc9c754de5e45d7a61e (diff)
downloadlinux-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 'lib/test_fprobe.c')
0 files changed, 0 insertions, 0 deletions