Skip to content

tracing/probes: Fix probe event argument parser

Masami Hiramatsu (Google) linux-trace-kernel lkml 1 version New

Get series with b4
b4 am 170602214309.215583.16731124846112910621.stgit@devnote2

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tracing/probes: Fix to show a parse error for bad type for $commkernel/trace/trace_probe.c kernel/trace/trace_probe.h+7 -30 replies
2/2tracing/probes: Fix to set arg size and fmt after setting type from BTFkernel/trace/trace_probe.c+13 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] tracing/probes: Fix probe event argument parser

These fix two bugs in the trace probe event argument parser, which I found while I'm cleaning up the code.

One is just adding an error message to message log buffer (but it is important to check the reason). Another is setting the size of argument entry correctly with argument data updated by BTF.

Thank you,

---

Masami Hiramatsu (Google) (2):
tracing/probes: Fix to show a parse error for bad type for $comm tracing/probes: Fix to set arg size and fmt after setting type from BTF

 kernel/trace/trace_probe.c |   32 ++++++++++++++++++--------------
 kernel/trace/trace_probe.h |    3 ++-
 2 files changed, 20 insertions(+), 15 deletions(-)

--
Masami Hiramatsu (Google) <[email protected]>