From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752732AbcGAIKV (ORCPT ); Fri, 1 Jul 2016 04:10:21 -0400 Received: from mail.kernel.org ([198.145.29.136]:55656 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752065AbcGAIKL (ORCPT ); Fri, 1 Jul 2016 04:10:11 -0400 From: Masami Hiramatsu To: Arnaldo Carvalho de Melo Cc: Masami Hiramatsu , linux-kernel@vger.kernel.org, Namhyung Kim , Peter Zijlstra , Ingo Molnar , Hemant Kumar , Ananth N Mavinakayanahalli , Brendan Gregg Subject: [PATCH perf/core v13 00/15] perf-probe --cache and SDT support Date: Fri, 1 Jul 2016 17:03:01 +0900 Message-Id: <146736018054.27797.14439910564760436056.stgit@devbox> X-Mailer: git-send-email 2.7.4 User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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