x86, perf: P4 PMU -- check for proper event index in RAW events
authorCyrill Gorcunov <gorcunov@openvz.org>
Sat, 8 May 2010 11:25:54 +0000 (15:25 +0400)
committerIngo Molnar <mingo@elte.hu>
Sat, 8 May 2010 12:17:53 +0000 (14:17 +0200)
commitc7993165ef0c1d636ca05f4787739f8414584e6d
tree7db7d2f910bca0945d870bd4075818496cf4d564
parent3f51b7119d052827dbb0e40c966acdf2bdc6f47f
x86, perf: P4 PMU -- check for proper event index in RAW events

RAW events are special and we should be ready for user passing
in insane event index values.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Lin Ming <ming.m.lin@intel.com>
LKML-Reference: <20100508112717.315897547@openvz.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event_p4.c