aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-probe.c')
-rw-r--r--tools/perf/builtin-probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-probe.c b/tools/perf/builtin-probe.c
index 1792a3f1f4ce..43ff33d0007b 100644
--- a/tools/perf/builtin-probe.c
+++ b/tools/perf/builtin-probe.c
@@ -424,7 +424,7 @@ int cmd_probe(int argc, const char **argv, const char *prefix __maybe_unused)
424 } 424 }
425 425
426#ifdef HAVE_DWARF_SUPPORT 426#ifdef HAVE_DWARF_SUPPORT
427 if (params.show_lines && !params.uprobes) { 427 if (params.show_lines) {
428 if (params.mod_events) { 428 if (params.mod_events) {
429 pr_err(" Error: Don't use --line with" 429 pr_err(" Error: Don't use --line with"
430 " --add/--del.\n"); 430 " --add/--del.\n");