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

From: Masami Hiramatsu
Date: Fri Jul 01 2016 - 04:18:50 EST


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