lkml.org 
[lkml]   [2016]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH perf/core v6 00/14] perf-probe --cache and SDT support
Date
Hi,

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

The previous version is here; https://lkml.org/lkml/2016/4/27/828

This version fixes some bugs according to reviews and bugs found
by tests.

Changes in v6:
- [01/14] Replace local __is_regular_file with is_regular_file in util.c
(Thank you Namhyung!)
- [01/14] Fix dso__build_id_is_kmod() to check symlink in buildid cache
correctly.
- [03/14] Remove unneeded O_APPEND from open(). (Thanks Namhyung!)
- [03/14] Fix to check the return value of probe_cache_entry__new and
strdup.(ditto)
- [04/14] Remove fallback lookup routine by using function name
as cached event name, because it should be done by following
patch which supports %cached-event.

Thank you,

---

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

Masami Hiramatsu (13):
perf-buildid-cache: Use path/to/bin/buildid/elf instead of path/to/bin/buildid
perf-buildid-cache: Use lsdir for looking up buildid caches
perf probe: Add --cache option to cache the probe definitions
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-list: Show SDT and pre-cached events
perf-list: Skip SDTs placed in invalid binaries
perf probe: Allow wildcard for cached events
perf probe: Support @BUILDID or @FILE suffix for SDT events


tools/perf/Documentation/perf-probe.txt | 24 +
tools/perf/builtin-list.c | 4
tools/perf/builtin-probe.c | 30 ++
tools/perf/util/build-id.c | 289 ++++++++++++++----
tools/perf/util/build-id.h | 6
tools/perf/util/dso.h | 5
tools/perf/util/parse-events.c | 83 +++++
tools/perf/util/parse-events.h | 2
tools/perf/util/probe-event.c | 431 ++++++++++++++++++++++++---
tools/perf/util/probe-event.h | 7
tools/perf/util/probe-file.c | 500 +++++++++++++++++++++++++++++++
tools/perf/util/probe-file.h | 41 +++
tools/perf/util/symbol-elf.c | 252 ++++++++++++++++
tools/perf/util/symbol.c | 15 +
tools/perf/util/symbol.h | 22 +
15 files changed, 1600 insertions(+), 111 deletions(-)

--
Masami Hiramatsu

\
 
 \ /
  Last update: 2016-04-29 15:01    [W:0.059 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site