Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933412Ab0BYTb3 (ORCPT ); Thu, 25 Feb 2010 14:31:29 -0500 Received: from hera.kernel.org ([140.211.167.34]:33943 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933170Ab0BYTbW (ORCPT ); Thu, 25 Feb 2010 14:31:22 -0500 Date: Thu, 25 Feb 2010 19:30:20 GMT From: tip-bot for Masami Hiramatsu Cc: linux-kernel@vger.kernel.org, paulus@samba.org, acme@redhat.com, hpa@zytor.com, mingo@redhat.com, efault@gmx.de, peterz@infradead.org, ananth@in.ibm.com, dle-develop@lists.sourceforge.net, fweisbec@gmail.com, tglx@linutronix.de, mhiramat@redhat.com, mingo@elte.hu, prasad@linux.vnet.ibm.com, systemtap@sources.redhat.com Reply-To: mingo@redhat.com, hpa@zytor.com, acme@redhat.com, paulus@samba.org, linux-kernel@vger.kernel.org, peterz@infradead.org, efault@gmx.de, ananth@in.ibm.com, fweisbec@gmail.com, dle-develop@lists.sourceforge.net, tglx@linutronix.de, mhiramat@redhat.com, systemtap@sources.redhat.com, prasad@linux.vnet.ibm.com, mingo@elte.hu In-Reply-To: <20100225133512.6725.88423.stgit@localhost6.localdomain6> References: <20100225133512.6725.88423.stgit@localhost6.localdomain6> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/probes] perf probe: Do not show --line option without dwarf support Message-ID: Git-Commit-ID: f3ab481ca6ffe5e272c8501317bea726f9a83959 X-Mailer: tip-git-log-daemon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (hera.kernel.org [127.0.0.1]); Thu, 25 Feb 2010 19:30:21 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1841 Lines: 48 Commit-ID: f3ab481ca6ffe5e272c8501317bea726f9a83959 Gitweb: http://git.kernel.org/tip/f3ab481ca6ffe5e272c8501317bea726f9a83959 Author: Masami Hiramatsu AuthorDate: Thu, 25 Feb 2010 08:35:12 -0500 Committer: Ingo Molnar CommitDate: Thu, 25 Feb 2010 17:49:27 +0100 perf probe: Do not show --line option without dwarf support Do not show --line option in help message when perf doesn't support dwarf. Signed-off-by: Masami Hiramatsu Cc: systemtap Cc: DLE Cc: Frederic Weisbecker Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Mike Galbraith Cc: K.Prasad Cc: Frederic Weisbecker Cc: Ananth N Mavinakayanahalli LKML-Reference: <20100225133512.6725.88423.stgit@localhost6.localdomain6> Signed-off-by: Ingo Molnar --- tools/perf/builtin-probe.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/tools/perf/builtin-probe.c b/tools/perf/builtin-probe.c index ad47bd4..c7e14d0 100644 --- a/tools/perf/builtin-probe.c +++ b/tools/perf/builtin-probe.c @@ -156,7 +156,9 @@ static const char * const probe_usage[] = { "perf probe [] --add 'PROBEDEF' [--add 'PROBEDEF' ...]", "perf probe [] --del '[GROUP:]EVENT' ...", "perf probe --list", +#ifndef NO_LIBDWARF "perf probe --line 'LINEDESC'", +#endif NULL }; -- 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/