aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-08-16 13:56:54 -0400
committerIngo Molnar <mingo@elte.hu>2009-08-16 13:59:13 -0400
commit0f25bfc8d8b31a4ac8e4ff6cbc3911fb7092a4a7 (patch)
treef37cc9878d68ec96b2f8d25389ceadbb69c183d4 /tools/perf/builtin-annotate.c
parent2cec19d9d0716f8d68f1c5a87667d0387d4d252d (diff)
perf tools: Put the show mode into the event headers files
Annotate and report share the same flags to filter events considering their context (kernel, user, hypervisor). Both tools have their own definitions of these flags. Factorize them out into the event headers file. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Mike Galbraith <efault@gmx.de> LKML-Reference: <1250445414-29237-1-git-send-email-fweisbec@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r--tools/perf/builtin-annotate.c4
1 files changed, 0 insertions, 4 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
29static char const *input_name = "perf.data"; 25static char const *input_name = "perf.data";
30 26
31static char default_sort_order[] = "comm,symbol"; 27static char default_sort_order[] = "comm,symbol";