From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8514 invoked by alias); 5 Jan 2010 22:40:13 -0000 Received: (qmail 8500 invoked by uid 22791); 5 Jan 2010 22:40:12 -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, 05 Jan 2010 22:40:07 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o05Me5WG024933 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 5 Jan 2010 17:40:05 -0500 Received: from dhcp-100-2-132.bos.redhat.com (dhcp-100-2-132.bos.redhat.com [10.16.2.132]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o05Me4TL017553; Tue, 5 Jan 2010 17:40:04 -0500 From: Masami Hiramatsu Subject: [PATCH -tip 0/8] perf-probe updates To: Ingo Molnar , lkml Cc: Frederic Weisbecker , Arnaldo Carvalho de Melo , systemtap, DLE Date: Tue, 05 Jan 2010 22:40:00 -0000 Message-ID: <20100105224634.19431.3259.stgit@dhcp-100-2-132.bos.redhat.com> 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: 2010-q1/txt/msg00022.txt.bz2 Hi Ingo, Here are several bugfixes and updates of perf-probe and kprobe-tracer. This updates includes --line option support which you are waiting for :-). For kprobe-tracer, I decided to drop $argN support, because the ABI for each function strongly depends on not only the architecture but also the API of the function and gcc options. Anyway, we already have perf-probe which allows us to find register/memory assignment of each arguments. Here are updated todo list. Long-term TODOs (future features): - Support lazy string matching(glob?) for selecting probing line - Support sys_perf_counter_open (for non-root users) - Support tracing static variables (non global) - Support variable types from debuginfo (e.g. char, int, ...) - Support fields of data structures (var->field) - Support array (var[N]) - Support dynamic array-indexing (var[var2]) - Support string/dynamic arrays (*var, var[N..M]) - Support force type-casting ((type)var) - Support the type of return value Miscs: - Better support for probes on modules - Move onto libdw/libdwfl - Storing file name/line number information in the kernel for listing events Thank you, --- Masami Hiramatsu (8): perf probe: Support --line option to show probable source-code lines perf tools: Enhance glob string matching perf tools: Support tracepoint glob matching perf probe: Show probe list in pager [CLEANUP] perf probe: Remove newline from die() x86/ptrace: Remove unused regs_get_argument_nth API tracing/kprobe: Drop function argument access syntax tracing/kprobe: Update example output in documentation Documentation/trace/kprobetrace.txt | 48 ++++--- arch/x86/include/asm/ptrace.h | 4 - arch/x86/kernel/ptrace.c | 24 ---- kernel/trace/trace_kprobe.c | 18 --- tools/perf/Documentation/perf-probe.txt | 20 +++ tools/perf/builtin-probe.c | 80 ++++++++++-- tools/perf/util/parse-events.c | 11 +- tools/perf/util/probe-event.c | 103 ++++++++++++++++ tools/perf/util/probe-event.h | 2 tools/perf/util/probe-finder.c | 203 +++++++++++++++++++++++++++++-- tools/perf/util/probe-finder.h | 31 +++++ tools/perf/util/string.c | 65 +++++++++- 12 files changed, 507 insertions(+), 102 deletions(-) -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America), Inc. Software Solutions Division e-mail: mhiramat@redhat.com