From: Masami Hiramatsu <mhiramat@redhat.com>
To: Ingo Molnar <mingo@elte.hu>, lkml <linux-kernel@vger.kernel.org>
Cc: systemtap <systemtap@sources.redhat.com>,
DLE <dle-develop@lists.sourceforge.net>,
Masami Hiramatsu <mhiramat@redhat.com>,
Ingo Molnar <mingo@elte.hu>,
Frederic Weisbecker <fweisbec@gmail.com>,
Arnaldo Carvalho de Melo <acme@redhat.com>,
Peter Zijlstra <peterz@infradead.org>,
Paul Mackerras <paulus@samba.org>, Mike Galbraith <efault@gmx.de>,
"K.Prasad" <prasad@linux.vnet.ibm.com>
Subject: [PATCH -tip v3 1/9] perf probe: Do not show --line option without dwarf support
Date: Mon, 22 Feb 2010 21:08:25 -0500 [thread overview]
Message-ID: <20100223020825.26668.14443.stgit@localhost6.localdomain6> (raw)
In-Reply-To: <20100223020818.26668.79685.stgit@localhost6.localdomain6>
Do not show --line option in help message when perf
doesn't support dwarf.
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: K.Prasad <prasad@linux.vnet.ibm.com>
---
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 [<options>] --add 'PROBEDEF' [--add 'PROBEDEF' ...]",
"perf probe [<options>] --del '[GROUP:]EVENT' ...",
"perf probe --list",
+#ifndef NO_LIBDWARF
"perf probe --line 'LINEDESC'",
+#endif
NULL
};
--
Masami Hiramatsu
Software Engineer
Hitachi Computer Products (America), Inc.
Software Solutions Division
e-mail: mhiramat@redhat.com
next prev parent reply other threads:[~2010-02-23 2:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-23 2:08 [PATCH -tip v3 0/9] perf-probe updates - use elfutils and introduce lazy matching Masami Hiramatsu
2010-02-23 2:08 ` Masami Hiramatsu [this message]
2010-02-23 2:08 ` [PATCH -tip v3 2/9] perf probe: Update perf probe document Masami Hiramatsu
2010-02-23 2:08 ` [PATCH -tip v3 3/9] perf probe: Fix bugs in line range finder Masami Hiramatsu
2010-02-23 2:08 ` [PATCH -tip v3 4/9] perf probe: Rename probe finder functions Masami Hiramatsu
2010-02-23 2:08 ` [PATCH -tip v3 5/9] perf probe: Use elfutils-libdw for analyzing debuginfo Masami Hiramatsu
2010-02-23 20:49 ` Roland McGrath
2010-02-23 21:00 ` Peter Zijlstra
2010-02-23 2:09 ` [PATCH -tip v3 6/9] perf probe: Use libdw callback routines Masami Hiramatsu
2010-02-23 2:09 ` [PATCH -tip v3 7/9] perf probe: Check function address range strictly in line finder Masami Hiramatsu
2010-02-23 2:09 ` [PATCH -tip v3 8/9] perf probe: show more lines after last line Masami Hiramatsu
2010-02-23 2:09 ` [PATCH -tip v3 9/9] perf probe: Add lazy line matching support Masami Hiramatsu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100223020825.26668.14443.stgit@localhost6.localdomain6 \
--to=mhiramat@redhat.com \
--cc=acme@redhat.com \
--cc=dle-develop@lists.sourceforge.net \
--cc=efault@gmx.de \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=paulus@samba.org \
--cc=peterz@infradead.org \
--cc=prasad@linux.vnet.ibm.com \
--cc=systemtap@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome