Skip to content

perf-probe --cache and SDT support

Masami Hiramatsu lkml 11 versions – In review

Get series with b4
b4 am 146736018054.27797.14439910564760436056.stgit@devbox

Versions newest first · linked by author and title

  1. v13 Latest15 patches 9 repliesIn review
  2. v1216 patches 2 repliesSuperseded
  3. v11 posting 2/223 patches 0 repliesSuperseded
Earlier versions · 8
VersionPostedPatchesRepliesStatus
v11 posting 1/220 patches4 repliesSuperseded
v1023 patches10 repliesSuperseded
v916 patches13 repliesSuperseded
v816 patches6 repliesSuperseded
v721 patches11 repliesApplied
v614 patches0 repliesSuperseded
v515 patches21 repliesSuperseded
v419 patches22 repliesApplied

Patches in v13 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15perf probe: Use cache entry if possibletools/perf/util/probe-event.c tools/perf/util/probe-file.c tools/perf/util/probe-file.h+86 -41 reply
2/15perf probe: Show all cached probestools/perf/Documentation/perf-probe.txt tools/perf/builtin-probe.c tools/perf/util/build-id.c +4 more+184 -73 replies
3/15perf probe: Remove caches when --cache is giventools/perf/Documentation/perf-probe.txt tools/perf/builtin-probe.c tools/perf/util/probe-file.c +1 more+60 -80 replies
4/15perf/sdt: ELF support for SDTtools/perf/util/symbol-elf.c tools/perf/util/symbol.h+274 -02 replies
5/15perf probe: Add group name supporttools/perf/Documentation/perf-probe.txt tools/perf/util/probe-event.c+20 -130 replies
6/15perf buildid-cache: Scan and import user SDT events to probe cachetools/perf/Documentation/perf-buildid-cache.txt tools/perf/util/build-id.c tools/perf/util/probe-file.c +1 more+101 -33 replies
7/15perf 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
8/15perf-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 -40 replies
9/15perf: probe-cache: Add for_each_probe_cache_entry() wrappertools/perf/util/probe-file.c tools/perf/util/probe-file.h+6 -40 replies
10/15perf probe: Allow wildcard for cached eventstools/perf/util/probe-event.c tools/perf/util/probe-file.c tools/perf/util/probe-file.h+138 -100 replies
11/15perf probe: Search SDT/cached event from all probe cachestools/perf/util/probe-event.c+86 -190 replies
12/15perf 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 -20 replies
13/15perf probe: Support a special SDT probe formattools/perf/Documentation/perf-probe.txt tools/perf/util/probe-event.c+13 -30 replies
14/15perf build: Add sdt feature detectiontools/build/Makefile.feature tools/build/feature/Makefile tools/build/feature/test-all.c +4 more+34 -30 replies
15/15perf-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

1 of 15 patches has a Reviewed-by or Acked-by.

PatchMasami HiramatsuNamhyung Kim
1/15
2/15
3/15
4/15R-b A-b
5/15
6/15
7/15
8/15
9/15
10/15
11/15
12/15
13/15
14/15
15/15

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

Read the v13 thread

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

Hi,

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

Here is the previous v12: https://lkml.org/lkml/2016/6/24/147

In this version, I've removed the patch for perf-list to show SDT events, since at this point we don't support SDT from perf record. I also change perf-probe --cache --list to show cached events on only valid (existing) binaries.

Thank you,

---

Hemant Kumar (1):
perf/sdt: ELF support for SDT

Masami Hiramatsu (14):
perf probe: Use cache entry if possible
perf probe: Show all cached probes
perf probe: Remove caches when --cache is given
perf probe: Add group name support
perf buildid-cache: Scan and import user SDT events to probe cache 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-buildid-cache.txt |    3 
 tools/perf/Documentation/perf-probe.txt         |   30 +-
 tools/perf/Makefile.perf                        |    3 
 tools/perf/builtin-probe.c                      |   31 ++
 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                      |  212 +++++++++++++
 tools/perf/util/build-id.h                      |    4 
 tools/perf/util/probe-event.c                   |  366 +++++++++++++++++++++--
 tools/perf/util/probe-event.h                   |    1 
 tools/perf/util/probe-file.c                    |  226 +++++++++++++-
 tools/perf/util/probe-file.h                    |   15 +
 tools/perf/util/symbol-elf.c                    |  252 ++++++++++++++++
 tools/perf/util/symbol.h                        |   22 +
 18 files changed, 1235 insertions(+), 64 deletions(-)
 create mode 100644 tools/perf/tests/sdt.c

--
Masami Hiramatsu