diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/builtin-annotate.c | 4 | ||||
-rw-r--r-- | tools/perf/builtin-report.c | 4 | ||||
-rw-r--r-- | tools/perf/util/event.h | 6 |
3 files changed, 6 insertions, 8 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index 820e7ccec62d..6d751516616d 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c | |||
@@ -22,10 +22,6 @@ | |||
22 | #include "util/parse-events.h" | 22 | #include "util/parse-events.h" |
23 | #include "util/thread.h" | 23 | #include "util/thread.h" |
24 | 24 | ||
25 | #define SHOW_KERNEL 1 | ||
26 | #define SHOW_USER 2 | ||
27 | #define SHOW_HV 4 | ||
28 | |||
29 | static char const *input_name = "perf.data"; | 25 | static char const *input_name = "perf.data"; |
30 | 26 | ||
31 | static char default_sort_order[] = "comm,symbol"; | 27 | static char default_sort_order[] = "comm,symbol"; |
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index e104ed3c8418..05d52ff4c33d 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -27,10 +27,6 @@ | |||
27 | 27 | ||
28 | #include "util/thread.h" | 28 | #include "util/thread.h" |
29 | 29 | ||
30 | #define SHOW_KERNEL 1 | ||
31 | #define SHOW_USER 2 | ||
32 | #define SHOW_HV 4 | ||
33 | |||
34 | static char const *input_name = "perf.data"; | 30 | static char const *input_name = "perf.data"; |
35 | 31 | ||
36 | static char default_sort_order[] = "comm,dso,symbol"; | 32 | static char default_sort_order[] = "comm,dso,symbol"; |
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h index fa7c50b654e1..fa2d4e91d329 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h | |||
@@ -4,6 +4,12 @@ | |||
4 | #include "util.h" | 4 | #include "util.h" |
5 | #include <linux/list.h> | 5 | #include <linux/list.h> |
6 | 6 | ||
7 | enum { | ||
8 | SHOW_KERNEL = 1, | ||
9 | SHOW_USER = 2, | ||
10 | SHOW_HV = 4, | ||
11 | }; | ||
12 | |||
7 | /* | 13 | /* |
8 | * PERF_SAMPLE_IP | PERF_SAMPLE_TID | * | 14 | * PERF_SAMPLE_IP | PERF_SAMPLE_TID | * |
9 | */ | 15 | */ |