x86, perf: P4 PMU -- configure predefined events
authorCyrill Gorcunov <gorcunov@openvz.org>
Sat, 8 May 2010 11:39:52 +0000 (15:39 +0400)
committerIngo Molnar <mingo@elte.hu>
Sat, 8 May 2010 12:17:52 +0000 (14:17 +0200)
commitde902d967feb96f2dfddfbe9dbd69dc22fd5ebcb
treef3f22deb11cf38e71cb4f08871a5d4a9e2e074f5
parent6e85158cf5a2385264316870256fb6ad681156a0
x86, perf: P4 PMU -- configure predefined events

If an event is not RAW we should not exit p4_hw_config
early but call x86_setup_perfctr as well.

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>
Cc: Robert Richter <robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event_p4.c