diff options
| author | Stephane Eranian <[email protected]> | 2013-05-21 12:53:37 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2013-05-28 09:13:54 +0200 |
| commit | 2b923c8f5de6722393e614b096d5040b6d4eaf98 (patch) | |
| tree | 32d26494f93859f3a03a8aa6edc2cc3b97476191 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | 13acac307528c9cd7dd9fa9c577419401527b464 (diff) | |
perf/x86: Check branch sampling priv level in generic code
This patch moves commit 7cc23cd to the generic code:
perf/x86/intel/lbr: Demand proper privileges for PERF_SAMPLE_BRANCH_KERNEL
The check is now implemented in generic code instead of x86 specific
code. That way we do not have to repeat the test in each arch
supporting branch sampling.
Signed-off-by: Stephane Eranian <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Link: http://lkml.kernel.org/r/20130521105337.GA2879@quad
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions