git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf probe: Do not show --line option without dwarf support
[safe/jmp/linux-2.6]
/
tools
/
perf
/
builtin-probe.c
diff --git
a/tools/perf/builtin-probe.c
b/tools/perf/builtin-probe.c
index
ad47bd4
..
c7e14d0
100644
(file)
--- 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
};