[PATCH -tip 0/9] perf-probe updates

From: Masami Hiramatsu
Date: Mon Nov 30 2009 - 19:19:55 EST


Hi,

Here are bugfixes and updates for perf-probe and kprobe-tracer.
I've fixed some minor bugs and added --list option and simple
probe naming.

TODO:
- Support build-id checking.
- Support --del option to remove probes.
- Support --line option to show which lines user can probe.
- Support lazy string matching.

Thank you,

---

Masami Hiramatsu (9):
perf probe: Simplify event naming
perf probe: Add --list option for listing current probe events
perf probe: Add argv_split() from lib/argv_split.c
perf probe: Move probe event utility functions to probe-event.c
perf probe: Fix probe array index for multiple probe point
perf probe: Fix argv array size in probe parser
perf probe: Fix to add probe-finder.h without libdwarf
perf probe: Fix to change a debugging message from pr_info to pr_debug
trace_kprobes: Fix a memory leak bug and check kstrdup return value


kernel/trace/trace_kprobe.c | 26 ++
tools/perf/Makefile | 4
tools/perf/builtin-probe.c | 236 ++------------------
tools/perf/util/probe-event.c | 484 +++++++++++++++++++++++++++++++++++++++++
tools/perf/util/probe-event.h | 18 ++
tools/perf/util/string.c | 101 +++++++++
tools/perf/util/string.h | 2
7 files changed, 647 insertions(+), 224 deletions(-)
create mode 100644 tools/perf/util/probe-event.c
create mode 100644 tools/perf/util/probe-event.h

--
Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America), Inc.
Software Solutions Division
e-mail: mhiramat@xxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/