diff options
author | Cyrill Gorcunov <gorcunov@openvz.org> | 2010-08-25 22:23:34 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-09-01 08:26:56 +0200 |
commit | c9cf4a019cff198ee5638323e3b0ee18886467e8 (patch) | |
tree | e3c8e253b84b7efe750ea2e65da93c3df5e78cd8 /include/trace | |
parent | 14416c35b6b9975c9593d7ecc8382d1ecaa0b598 (diff) | |
download | kernel_goldelico_gta04-c9cf4a019cff198ee5638323e3b0ee18886467e8.zip kernel_goldelico_gta04-c9cf4a019cff198ee5638323e3b0ee18886467e8.tar.gz kernel_goldelico_gta04-c9cf4a019cff198ee5638323e3b0ee18886467e8.tar.bz2 |
perf, x86, Pentium4: Add RAW events verification
Implements verification of
- Bits of ESCR EventMask field (meaningful bits in field are hardware
predefined and others bits should be set to zero)
- INSTR_COMPLETED event (it is available on predefined cpu model only)
- Thread shared events (they should be guarded by "perf_event_paranoid"
sysctl due to security reason). The side effect of this action is
that PERF_COUNT_HW_BUS_CYCLES become a "paranoid" general event.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Tested-by: Lin Ming <ming.m.lin@intel.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20100825182334.GB14874@lenovo>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions