This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH -tip 0/4] perf-probe updates: string support, etc.
- From: Masami Hiramatsu <mhiramat at redhat dot com>
- To: Ingo Molnar <mingo at elte dot hu>, Arnaldo Carvalho de Melo <acme at redhat dot com>, lkml<linux-kernel at vger dot kernel dot org>
- Cc: Paul Mackerras <paulus at samba dot org>, Arnaldo Carvalho de Melo <acme at redhat dot com>, Peter Zijlstra <peterz at infradead dot org>, Mike Galbraith <efault at gmx dot de>, Frederic Weisbecker <fweisbec at gmail dot com>, systemtap<systemtap at sources dot redhat dot com>, DLE<dle-develop at lists dot sourceforge dot net>
- Date: Mon, 17 May 2010 22:49:19 -0400
- Subject: [PATCH -tip 0/4] perf-probe updates: string support, etc.
Hi,
Here is a series of patches which improves perf probe to
add below features.
- String support, which enables dynamic events to trace string
variables instead of its address.
- Fixed-index array entry support, which allows user to trace
an array entry with digit index, e.g. array[0].
- Global/static variable support, which allows user to trace
global or static variables, as same as local one.
TODOs (possible features):
- Support dynamic array-indexing (var[var2])
- Support force type-casting ((type)var)
- Show what deta-structure member is assigned to each argument.
- Better support for probes on modules
- More debugger like enhancements(%next, --disasm, etc.)
Thank you,
---
Masami Hiramatsu (4):
perf probe: Support static and global variables
perf probe: Support tracing an entry of array
perf probe: Support "string" type
tracing/kprobes: Support "string" type
Documentation/trace/kprobetrace.txt | 2
kernel/trace/trace_kprobe.c | 356 ++++++++++++++++++++++++-------
tools/perf/Documentation/perf-probe.txt | 4
tools/perf/util/probe-event.c | 71 ++++--
tools/perf/util/probe-event.h | 1
tools/perf/util/probe-finder.c | 192 +++++++++++++----
6 files changed, 484 insertions(+), 142 deletions(-)
--
Masami Hiramatsu
e-mail: mhiramat@redhat.com