Messages in this thread | | | From | Frederic Weisbecker <> | Subject | [GIT PULL] tracing/kprobes: Syntax updates, introduce perf probe | Date | Tue, 13 Oct 2009 00:25:01 +0200 |
| |
Ingo,
I've tested a little this set and it seems to work well. I can't test the C expression parser (need some libdwarf cross-version compatiblity), but I can create kprobes via low-level parameters, then launch perf record and perf trace successfully. I'll need to update perf trace to handle variables that start with '$' characters though.
Anyway, it's still unstable but I guess pulling it would help Masami to continue without the need to handle the whole batch.
Please pull the tracing/kprobes branch that can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git tracing/kprobes
Thanks, Frederic.
Masami Hiramatsu (7): tracing/kprobes: Add $ prefix to special variables tracing/kprobes: Remove '$ra' special variable tracing/kprobes: Make special variable names more self-explainable tracing/kprobes: Avoid field name confliction tracing/kprobes: Robustify fixed field names against variable field names conflicts perf: Add perf probe subcommand, a kprobe-event setup helper perf probe: Add perf probe command support without libdwarf
Documentation/trace/kprobetrace.txt | 27 +- kernel/trace/trace_kprobe.c | 160 +++++--- tools/perf/Makefile | 10 + tools/perf/builtin-probe.c | 386 +++++++++++++++++++ tools/perf/builtin.h | 1 + tools/perf/perf.c | 1 + tools/perf/util/probe-finder.c | 690 +++++++++++++++++++++++++++++++++++ tools/perf/util/probe-finder.h | 70 ++++ 8 files changed, 1271 insertions(+), 74 deletions(-) create mode 100644 tools/perf/builtin-probe.c create mode 100644 tools/perf/util/probe-finder.c create mode 100644 tools/perf/util/probe-finder.h
| |