This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH -tip perf/probes 0/5] perf-probe and kprobe-tracer updates
- From: Masami Hiramatsu <mhiramat at redhat dot com>
- To: Ingo Molnar <mingo at elte dot hu>, Frederic Weisbecker <fweisbec at gmail dot com>, lkml<linux-kernel at vger dot kernel dot org>
- Cc: Steven Rostedt <rostedt at goodmis dot org>, Jim Keniston <jkenisto at us dot ibm dot com>, Ananth N Mavinakayanahalli <ananth at in dot ibm dot com>, Christoph Hellwig <hch at infradead dot org>, "Frank Ch. Eigler" <fche at redhat dot com>, Jason Baron <jbaron at redhat dot com>, "K.Prasad" <prasad at linux dot vnet dot ibm dot com>, Peter Zijlstra <peterz at infradead dot org>, Srikar Dronamraju <srikar at linux dot vnet dot ibm dot com>, systemtap<systemtap at sources dot redhat dot com>, DLE<dle-develop at lists dot sourceforge dot net>
- Date: Tue, 03 Nov 2009 19:12:04 -0500
- Subject: [PATCH -tip perf/probes 0/5] perf-probe and kprobe-tracer updates
Hi,
Here are some updates according to previous LKML threads.
- Update perf-probe document.
- Improve error messages.
- Fall back to non-dwarf mode if possible.
- Change group name to probe.
- Rename kprobe-tracer to kprobe-event.
BTW, I think perf-probe and kprobe-event might better share
similar syntax for not confusing users. And for that purpose,
perf-probe syntax should introduce event/group specifier,
for example,
perf probe "newgroup:newevnt=func:10 arg1 arg2"
adds the newevent under newgroup. On the other hand, ftrace
users can also add a new event as below;
echo 'newgroup:newevent=func+0x18 arg1=$a1 arg2=$a2' > kprobe_events
Any thoughts?
TODO:
- Support --list option to show probes.
- Support --del option to remove probes.
- Simplify probe names.
- Support --line option to show which lines user can probe.
- Support lazy string matching.
Thank you,
---
Masami Hiramatsu (5):
tracing/kprobes: Rename Kprobe-tracer to kprobe-event
perf/probes: Rename perf probe events group name
perf/probes: Fall back to non-dwarf if possible
perf/probes: Improve error messages
perf/probe: Update Documentation/perf-probe.txt
Documentation/trace/kprobetrace.txt | 34 ++++++-------
kernel/trace/Kconfig | 19 ++++---
kernel/trace/Makefile | 2 -
kernel/trace/trace_kprobe.c | 6 +-
tools/perf/Documentation/perf-probe.txt | 17 +++---
tools/perf/builtin-probe.c | 84 ++++++++++++++++++-------------
tools/perf/util/probe-finder.c | 7 ++-
7 files changed, 95 insertions(+), 74 deletions(-)
--
Masami Hiramatsu
Software Engineer
Hitachi Computer Products (America), Inc.
Software Solutions Division
e-mail: mhiramat@redhat.com