Skip to content

tracing: probeevent: Fix probe argument parser and handler

Masami Hiramatsu lkml stable 3 versions – Applied

Status from this message: I applied these to my queue.

Get series with b4
b4 am 155723732200.9149.10482668315693777743.stgit@devnote2

Versions newest first · linked by author and title

  1. v3 Latest3 patches 5 repliesApplied
  2. v23 patches 8 repliesSuperseded
  3. v13 patches 2 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3tracing: uprobes: Re-enable $comm support for uprobe eventskernel/trace/trace_probe.h kernel/trace/trace_uprobe.c+12 -20 replies
2/3tracing: probeevent: Do not accumulate on ret variablekernel/trace/trace_probe_tmpl.h+1 -10 replies
3/3tracing: probeevent: Fix to make the type of $comm stringkernel/trace/trace_probe.c+7 -63 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAndreas Ziegler
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] tracing: probeevent: Fix probe argument parser and handler

Hi,

Here is the 3rd version of series to fix several bugs in probe event argument parser and handler routines.

In this version I updated patch [1/3] according to Steve's comment.

I got 2 issues reported by Andreas, see
https://www.mail-archive.com/[email protected]/msg1899098.html

One issue is already fixed by Andreas (Thanks!) but $comm handling issue still exists on uprobe event. [1/3] fixes it.
And I found other issues around that, [2/3] is just a trivial cleanup, [3/3] fixes $comm type issue which occurs not only uprobe events but also on kprobe events. Anyway, after this series applied, $comm must be "string" type and not be an array.

Thank you,

---

Masami Hiramatsu (3):
tracing: uprobes: Re-enable $comm support for uprobe events
tracing: probeevent: Do not accumulate on ret variable
tracing: probeevent: Fix to make the type of $comm string

 kernel/trace/trace_probe.c      |   13 +++++++------
 kernel/trace/trace_probe.h      |    1 +
 kernel/trace/trace_probe_tmpl.h |    2 +-
 kernel/trace/trace_uprobe.c     |   13 +++++++++++--
 4 files changed, 20 insertions(+), 9 deletions(-)

--
Masami Hiramatsu <[email protected]>