diff options
Diffstat (limited to 'tools/perf/util/probe-event.c')
-rw-r--r-- | tools/perf/util/probe-event.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c index 8e532d9824f0..a22141a773bc 100644 --- a/tools/perf/util/probe-event.c +++ b/tools/perf/util/probe-event.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #include "string.h" | 37 | #include "string.h" |
38 | #include "strlist.h" | 38 | #include "strlist.h" |
39 | #include "debug.h" | 39 | #include "debug.h" |
40 | #include "cache.h" | ||
40 | #include "parse-events.h" /* For debugfs_path */ | 41 | #include "parse-events.h" /* For debugfs_path */ |
41 | #include "probe-event.h" | 42 | #include "probe-event.h" |
42 | 43 | ||
@@ -455,6 +456,8 @@ void show_perf_probe_events(void) | |||
455 | struct strlist *rawlist; | 456 | struct strlist *rawlist; |
456 | struct str_node *ent; | 457 | struct str_node *ent; |
457 | 458 | ||
459 | setup_pager(); | ||
460 | |||
458 | fd = open_kprobe_events(O_RDONLY, 0); | 461 | fd = open_kprobe_events(O_RDONLY, 0); |
459 | rawlist = get_trace_kprobe_event_rawlist(fd); | 462 | rawlist = get_trace_kprobe_event_rawlist(fd); |
460 | close(fd); | 463 | close(fd); |