public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Masami Hiramatsu <mhiramat@kernel.org>
To: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>,
	linux-kernel@vger.kernel.org, Namhyung Kim <namhyung@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Ingo Molnar <mingo@redhat.com>,
	Hemant Kumar <hemant@linux.vnet.ibm.com>,
	Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
Subject: [PATCH perf/core v6 00/14] perf-probe --cache and SDT support
Date: Fri, 29 Apr 2016 21:45:07 +0900	[thread overview]
Message-ID: <20160429124507.11856.25150.stgit@devbox> (raw)

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

             reply	other threads:[~2016-04-29 12:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-29 12:45 Masami Hiramatsu [this message]
2016-04-29 12:45 ` [PATCH perf/core v6 01/14] perf-buildid-cache: Use path/to/bin/buildid/elf instead of path/to/bin/buildid Masami Hiramatsu
2016-04-29 12:45 ` [PATCH perf/core v6 02/14] perf-buildid-cache: Use lsdir for looking up buildid caches Masami Hiramatsu
2016-04-29 12:45 ` [PATCH perf/core v6 03/14] perf probe: Add --cache option to cache the probe definitions Masami Hiramatsu
2016-04-29 12:45 ` [PATCH perf/core v6 04/14] perf probe: Use cache entry if possible Masami Hiramatsu
2016-04-29 12:45 ` [PATCH perf/core v6 05/14] perf probe: Show all cached probes Masami Hiramatsu
2016-04-29 12:46 ` [PATCH perf/core v6 06/14] perf probe: Remove caches when --cache is given Masami Hiramatsu
2016-04-29 12:46 ` [PATCH perf/core v6 07/14] perf/sdt: ELF support for SDT Masami Hiramatsu
2016-04-29 12:46 ` [PATCH perf/core v6 08/14] perf probe: Add group name support Masami Hiramatsu
2016-04-29 12:46 ` [PATCH perf/core v6 09/14] perf buildid-cache: Scan and import user SDT events to probe cache Masami Hiramatsu
2016-04-29 12:46 ` [PATCH perf/core v6 10/14] perf probe: Accept %sdt and %cached event name Masami Hiramatsu
2016-04-29 12:46 ` [PATCH perf/core v6 11/14] perf-list: Show SDT and pre-cached events Masami Hiramatsu
2016-04-29 12:47 ` [PATCH perf/core v6 12/14] perf-list: Skip SDTs placed in invalid binaries Masami Hiramatsu
2016-04-29 12:47 ` [PATCH perf/core v6 13/14] perf probe: Allow wildcard for cached events Masami Hiramatsu
2016-04-29 12:47 ` [PATCH perf/core v6 14/14] perf probe: Support @BUILDID or @FILE suffix for SDT events Masami Hiramatsu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160429124507.11856.25150.stgit@devbox \
    --to=mhiramat@kernel.org \
    --cc=acme@kernel.org \
    --cc=ananth@linux.vnet.ibm.com \
    --cc=hemant@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox