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

From: Masami Hiramatsu
Date: Thu Jan 17 2019 - 08:48:24 EST


This series fixes several bugs in probe event argument parser
and handler routines.

Recently I got 2 issues reported by Andreas, see

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>