oprofile/x86: warn user if a counter is already active
authorRobert Richter <robert.richter@amd.com>
Tue, 23 Feb 2010 17:14:58 +0000 (18:14 +0100)
committerRobert Richter <robert.richter@amd.com>
Fri, 26 Feb 2010 14:14:03 +0000 (15:14 +0100)
commit98a2e73a0690b3610f049a64154d8145e5771713
treec58da8c5ffb458094af9681ec47f8b5e647f8d42
parentba52078e1917c5116c0802298d88ad0e54a6728b
oprofile/x86: warn user if a counter is already active

This patch generates a warning if a counter is already active.

Implemented for AMD and P6 models. P4 is not supported.

Cc: Naga Chumbalkar <nagananda.chumbalkar@hp.com>
Cc: Shashi Belur <shashi-kiran.belur@hp.com>
Cc: Tony Jones <tonyj@suse.de>
Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/oprofile/op_model_amd.c
arch/x86/oprofile/op_model_ppro.c
arch/x86/oprofile/op_x86_model.h