From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2679 invoked by alias); 1 Dec 2009 00:19:21 -0000 Received: (qmail 2669 invoked by uid 22791); 1 Dec 2009 00:19:21 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Dec 2009 00:19:14 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB10JDgC028202 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 30 Nov 2009 19:19:13 -0500 Received: from [127.0.0.1] (dhcp-100-2-46.bos.redhat.com [10.16.2.46]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nB10JBtf000686; Mon, 30 Nov 2009 19:19:12 -0500 From: Masami Hiramatsu Subject: [PATCH -tip 0/9] perf-probe updates To: Ingo Molnar , Frederic Weisbecker , lkml Cc: Steven Rostedt , Jim Keniston , Ananth N Mavinakayanahalli , Christoph Hellwig , "Frank Ch. Eigler" , Jason Baron , "K.Prasad" , Peter Zijlstra , Srikar Dronamraju , Arnaldo Carvalho de Melo , systemtap, DLE Date: Tue, 01 Dec 2009 00:19:00 -0000 Message-ID: <20091201001912.10235.79411.stgit@harusame> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q4/txt/msg00746.txt.bz2 Hi, Here are bugfixes and updates for perf-probe and kprobe-tracer. I've fixed some minor bugs and added --list option and simple probe naming. TODO: - Support build-id checking. - Support --del option to remove probes. - Support --line option to show which lines user can probe. - Support lazy string matching. Thank you, --- Masami Hiramatsu (9): perf probe: Simplify event naming perf probe: Add --list option for listing current probe events perf probe: Add argv_split() from lib/argv_split.c perf probe: Move probe event utility functions to probe-event.c perf probe: Fix probe array index for multiple probe point perf probe: Fix argv array size in probe parser perf probe: Fix to add probe-finder.h without libdwarf perf probe: Fix to change a debugging message from pr_info to pr_debug trace_kprobes: Fix a memory leak bug and check kstrdup return value kernel/trace/trace_kprobe.c | 26 ++ tools/perf/Makefile | 4 tools/perf/builtin-probe.c | 236 ++------------------ tools/perf/util/probe-event.c | 484 +++++++++++++++++++++++++++++++++++++++++ tools/perf/util/probe-event.h | 18 ++ tools/perf/util/string.c | 101 +++++++++ tools/perf/util/string.h | 2 7 files changed, 647 insertions(+), 224 deletions(-) create mode 100644 tools/perf/util/probe-event.c create mode 100644 tools/perf/util/probe-event.h -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America), Inc. Software Solutions Division e-mail: mhiramat@redhat.com