perf tools: Put the show mode into the event headers files
authorFrederic Weisbecker <fweisbec@gmail.com>
Sun, 16 Aug 2009 17:56:54 +0000 (19:56 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 16 Aug 2009 17:59:13 +0000 (19:59 +0200)
commit0f25bfc8d8b31a4ac8e4ff6cbc3911fb7092a4a7
treef37cc9878d68ec96b2f8d25389ceadbb69c183d4
parent2cec19d9d0716f8d68f1c5a87667d0387d4d252d
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>
tools/perf/builtin-annotate.c
tools/perf/builtin-report.c
tools/perf/util/event.h