[PATCH v2 0/3] tracing: expose current->comm to [ku]probe events
From: Omar Sandoval
Date: Thu Jun 02 2016 - 21:11:28 EST
From: Omar Sandoval <osandov@xxxxxx>
Hi,
Respinning with a few changes:
- Added patches 1 and 3 (document "string_size" type and make "string"
default for $comm)
- Also support uprobe events
- Only allow "string" and "string_size" types
Patch 2, which actually introduces $comm, is pretty simple. Patch 3 is
more intrusive, but without it, the default type for $comm is invalid,
which is stupid.
This series applies to v4.7-rc1.
Thanks!
Omar Sandoval (3):
tracing: document "string_size" [ku]probe type
tracing: expose current->comm to [ku]probe events
tracing: make "string" the default type for [ku]probe event $comm
Documentation/trace/kprobetrace.txt | 15 +++--
Documentation/trace/uprobetracer.txt | 13 ++--
kernel/trace/trace_kprobe.c | 1 +
kernel/trace/trace_probe.c | 123 ++++++++++++++++++++++++++---------
kernel/trace/trace_probe.h | 10 +++
5 files changed, 123 insertions(+), 39 deletions(-)
--
2.8.3