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>
This commit is contained in:

committed by
Ingo Molnar

parent
2cec19d9d0
commit
0f25bfc8d8
@@ -4,6 +4,12 @@
|
||||
#include "util.h"
|
||||
#include <linux/list.h>
|
||||
|
||||
enum {
|
||||
SHOW_KERNEL = 1,
|
||||
SHOW_USER = 2,
|
||||
SHOW_HV = 4,
|
||||
};
|
||||
|
||||
/*
|
||||
* PERF_SAMPLE_IP | PERF_SAMPLE_TID | *
|
||||
*/
|
||||
|
Reference in New Issue
Block a user