diff --git a/tools/perf/builtin-probe.c b/tools/perf/builtin-probe.c index ad47bd4c50efa5354aed01e5ff081836028c7638..c7e14d0145f467fd6cce1e9e4c6ac66fed9289e2 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 };