aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/probe-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/probe-event.c')
-rw-r--r--tools/perf/util/probe-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c
index 089d78ecbdda..0163fc0d25aa 100644
--- a/tools/perf/util/probe-event.c
+++ b/tools/perf/util/probe-event.c
@@ -371,7 +371,7 @@ int show_line_range(struct line_range *lr, const char *module)
371 fprintf(stdout, "<%s:%d>\n", lr->function, 371 fprintf(stdout, "<%s:%d>\n", lr->function,
372 lr->start - lr->offset); 372 lr->start - lr->offset);
373 else 373 else
374 fprintf(stdout, "<%s:%d>\n", lr->file, lr->start); 374 fprintf(stdout, "<%s:%d>\n", lr->path, lr->start);
375 375
376 fp = fopen(lr->path, "r"); 376 fp = fopen(lr->path, "r");
377 if (fp == NULL) { 377 if (fp == NULL) {