diff options
Diffstat (limited to 'tools/perf/builtin-list.c')
-rw-r--r-- | tools/perf/builtin-list.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/builtin-list.c b/tools/perf/builtin-list.c index 1948eceb517a..e79f423cc302 100644 --- a/tools/perf/builtin-list.c +++ b/tools/perf/builtin-list.c | |||
@@ -13,6 +13,7 @@ | |||
13 | 13 | ||
14 | #include "util/parse-events.h" | 14 | #include "util/parse-events.h" |
15 | #include "util/cache.h" | 15 | #include "util/cache.h" |
16 | #include "util/pmu.h" | ||
16 | 17 | ||
17 | int cmd_list(int argc, const char **argv, const char *prefix __maybe_unused) | 18 | int cmd_list(int argc, const char **argv, const char *prefix __maybe_unused) |
18 | { | 19 | { |
@@ -37,6 +38,8 @@ int cmd_list(int argc, const char **argv, const char *prefix __maybe_unused) | |||
37 | else if (strcmp(argv[i], "cache") == 0 || | 38 | else if (strcmp(argv[i], "cache") == 0 || |
38 | strcmp(argv[i], "hwcache") == 0) | 39 | strcmp(argv[i], "hwcache") == 0) |
39 | print_hwcache_events(NULL, false); | 40 | print_hwcache_events(NULL, false); |
41 | else if (strcmp(argv[i], "pmu") == 0) | ||
42 | print_pmu_events(NULL, false); | ||
40 | else if (strcmp(argv[i], "--raw-dump") == 0) | 43 | else if (strcmp(argv[i], "--raw-dump") == 0) |
41 | print_events(NULL, true); | 44 | print_events(NULL, true); |
42 | else { | 45 | else { |