Skip to content

perf-probe updates

Masami Hiramatsu lkml 1 version Applied

Status from this message: Applied, thanks Masami!

Get series with b4
b4 am 20091201001912.10235.79411.stgit@harusame

Versions newest first

  1. v1 Latest9 patches 19 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9trace_kprobes: Fix a memory leak bug and check kstrdup return valuekernel/trace/trace_kprobe.c+19 -71 reply
2/9perf probe: Fix to change a debugging message from pr_info to pr_debugtools/perf/builtin-probe.c+1 -11 reply
3/9perf probe: Fix to add probe-finder.h without libdwarftools/perf/Makefile+1 -11 reply
4/9perf probe: Fix argv array size in probe parsertools/perf/builtin-probe.c+7 -41 reply
5/9perf probe: Fix probe array index for multiple probe pointtools/perf/builtin-probe.c+1 -11 reply
6/9perf probe: Move probe event utility functions to probe-event.ctools/perf/Makefile tools/perf/builtin-probe.c tools/perf/util/probe-event.c +1 more+294 -2181 reply
7/9perf probe: Add argv_split() from lib/argv_split.ctools/perf/util/probe-event.c tools/perf/util/string.c tools/perf/util/string.h+118 -403 replies
8/9perf probe: Add --list option for listing current probe eventstools/perf/builtin-probe.c tools/perf/util/probe-event.c tools/perf/util/probe-event.h+230 -1810 replies
9/9perf probe: Simplify event namingtools/perf/util/probe-event.c tools/perf/util/probe-event.h+56 -141 reply

Reviews trailers per patch

2 of 9 patches have a Reviewed-by or Acked-by.

PatchFrederic Weisbecker
1/9
2/9
3/9
4/9
5/9
6/9
7/9A-b
8/9A-b A-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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
Signature · 6 lines
Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America), Inc.
Software Solutions Division
e-mail: [email protected]