[PATCH v2 0/3] tracing: probeevent: Fix probe argument parser and handler

From: Masami Hiramatsu
Date: Thu Jan 17 2019 - 23:44:47 EST


Hi,

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

In this version I just added Fixes tags so that it makes clear which
release should be fixed.

Recently I got 2 issues reported by Andreas, see
https://www.mail-archive.com/linux-kernel@xxxxxxxxxxxxxxx/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_tmpl.h | 2 +-
kernel/trace/trace_uprobe.c | 15 +++++++++++++--
3 files changed, 21 insertions(+), 9 deletions(-)

--
Masami Hiramatsu (Linaro) <mhiramat@xxxxxxxxxx>