Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758615AbZJLW00 (ORCPT ); Mon, 12 Oct 2009 18:26:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758543AbZJLW0X (ORCPT ); Mon, 12 Oct 2009 18:26:23 -0400 Received: from ey-out-2122.google.com ([74.125.78.27]:4094 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758600AbZJLW0V (ORCPT ); Mon, 12 Oct 2009 18:26:21 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=sFnHkmzhXkDiEfQE0ZCIjDVDiVboT5JmkmIS8FDj0uf65PZiKItDrgLQIw3MkCrSa+ WlyvvUV2oDcxSzsOuH4z9vbrDRGSBTU0AK7Kf+VUu16pihGotDmDvQ5ILj8OX7o2sgGm 6REHHdy5K0ghRwHfiV9wSBK575hEnMgzUEJck= From: Frederic Weisbecker To: Ingo Molnar Cc: LKML , Frederic Weisbecker , Masami Hiramatsu , Thomas Gleixner , Arnaldo Carvalho de Melo , Steven Rostedt , Mike Galbraith , Paul Mackerras , Peter Zijlstra , Christoph Hellwig , Ananth N Mavinakayanahalli , Jim Keniston , "Frank Ch . Eigler" , Li Zefan Subject: [GIT PULL] tracing/kprobes: Syntax updates, introduce perf probe Date: Tue, 13 Oct 2009 00:25:01 +0200 Message-Id: <1255386309-4992-1-git-send-email-fweisbec@gmail.com> X-Mailer: git-send-email 1.6.2.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2006 Lines: 47 Ingo, I've tested a little this set and it seems to work well. I can't test the C expression parser (need some libdwarf cross-version compatiblity), but I can create kprobes via low-level parameters, then launch perf record and perf trace successfully. I'll need to update perf trace to handle variables that start with '$' characters though. Anyway, it's still unstable but I guess pulling it would help Masami to continue without the need to handle the whole batch. Please pull the tracing/kprobes branch that can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git tracing/kprobes Thanks, Frederic. Masami Hiramatsu (7): tracing/kprobes: Add $ prefix to special variables tracing/kprobes: Remove '$ra' special variable tracing/kprobes: Make special variable names more self-explainable tracing/kprobes: Avoid field name confliction tracing/kprobes: Robustify fixed field names against variable field names conflicts perf: Add perf probe subcommand, a kprobe-event setup helper perf probe: Add perf probe command support without libdwarf Documentation/trace/kprobetrace.txt | 27 +- kernel/trace/trace_kprobe.c | 160 +++++--- tools/perf/Makefile | 10 + tools/perf/builtin-probe.c | 386 +++++++++++++++++++ tools/perf/builtin.h | 1 + tools/perf/perf.c | 1 + tools/perf/util/probe-finder.c | 690 +++++++++++++++++++++++++++++++++++ tools/perf/util/probe-finder.h | 70 ++++ 8 files changed, 1271 insertions(+), 74 deletions(-) create mode 100644 tools/perf/builtin-probe.c create mode 100644 tools/perf/util/probe-finder.c create mode 100644 tools/perf/util/probe-finder.h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/