Skip to content

perf-probe --cache and SDT support

Masami Hiramatsu lkml 1 version In review

Get series with b4
b4 am 146831786245.17065.7237942149862581005.stgit@devbox

Versions newest first

  1. v1 Latest10 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10perf-probe: Fix to show correct error message for $vars and $paramstools/perf/util/probe-event.c+3 -10 replies
2/10perf probe: Accept %sdt and %cached event nametools/perf/Documentation/perf-probe.txt tools/perf/util/probe-event.c tools/perf/util/probe-event.h +1 more+76 -250 replies
3/10perf-probe: Make --list shows only available cached eventstools/perf/builtin-probe.c tools/perf/util/build-id.c tools/perf/util/build-id.h +1 more+35 -42 replies
4/10perf: probe-cache: Add for_each_probe_cache_entry() wrappertools/perf/util/probe-file.c tools/perf/util/probe-file.h+6 -40 replies
5/10perf probe: Allow wildcard for cached eventstools/perf/util/probe-event.c tools/perf/util/probe-file.c tools/perf/util/probe-file.h+138 -101 reply
6/10perf probe: Search SDT/cached event from all probe cachestools/perf/util/probe-event.c+86 -190 replies
7/10perf probe: Support @BUILDID or @FILE suffix for SDT eventstools/perf/util/build-id.c tools/perf/util/build-id.h tools/perf/util/probe-event.c+59 -25 replies
8/10perf probe: Support a special SDT probe formattools/perf/Documentation/perf-probe.txt tools/perf/util/probe-event.c+13 -30 replies
9/10perf build: Add sdt feature detectiontools/build/Makefile.feature tools/build/feature/Makefile tools/build/feature/test-all.c +4 more+34 -30 replies
10/10perf-test: Add a test case for SDT eventtools/perf/tests/Build tools/perf/tests/builtin-test.c tools/perf/tests/sdt.c +1 more+121 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH perf/core 00/10] perf-probe --cache and SDT support

Hi,

Here is the 14th version of the patchset for probe-cache and initial SDT support.

Here is the previous v13: https://lkml.org/lkml/2016/7/1/133

This version includes patches which not merged yet. This also adds a bugfix;
- [1/10] Resend the bugfix patch which was sent 4th July.

          (https://lkml.org/lkml/2016/7/3/217)

Thank you,

---

Masami Hiramatsu (10):
[BUGFIX] perf-probe: Fix to show correct error message for $vars and $params perf probe: Accept %sdt and %cached event name
perf-probe: Make --list shows only available cached events
perf: probe-cache: Add for_each_probe_cache_entry() wrapper perf probe: Allow wildcard for cached events
perf probe: Search SDT/cached event from all probe caches
perf probe: Support @BUILDID or @FILE suffix for SDT events perf probe: Support a special SDT probe format
perf build: Add sdt feature detection
perf-test: Add a test case for SDT event

 tools/perf/Documentation/perf-probe.txt |   11 +
 tools/perf/Makefile.perf                |    3 
 tools/perf/builtin-probe.c              |    2 
 tools/perf/config/Makefile              |   10 +
 tools/perf/tests/Build                  |    1 
 tools/perf/tests/builtin-test.c         |    4 
 tools/perf/tests/make                   |    3 
 tools/perf/tests/sdt.c                  |  115 ++++++++++++
 tools/perf/tests/tests.h                |    1 
 tools/perf/util/build-id.c              |   76 ++++++++
 tools/perf/util/build-id.h              |    3 
 tools/perf/util/probe-event.c           |  309 +++++++++++++++++++++++++++----
 tools/perf/util/probe-event.h           |    1 
 tools/perf/util/probe-file.c            |   57 +++++-
 tools/perf/util/probe-file.h            |    5 +
 15 files changed, 542 insertions(+), 59 deletions(-)
 create mode 100644 tools/perf/tests/sdt.c

--
Masami Hiramatsu