linux/arch/x86/oprofile
Robert Richter 3370d35856 x86/oprofile: replace macros to calculate control register
This patch introduces op_x86_get_ctrl() to calculate the value of the
performance control register. This is generic code usable for all
models. The event and reserved masks are model specific and stored in
struct op_x86_model_spec. 64 bit MSR functions are used now. The patch
removes many hard to read macros used for ctrl calculation.

The function op_x86_get_ctrl() is common code and the first step to
further merge performance counter implementations for x86 models.

Signed-off-by: Robert Richter <robert.richter@amd.com>
2009-06-11 19:42:14 +02:00
..
backtrace.c x86, 32-bit: fix kernel_trap_sp() 2009-05-12 00:39:52 +02:00
init.c x86: coding style fixes to arch/x86/oprofile/init.c 2008-04-17 17:40:49 +02:00
Makefile x86/oprofile: reanaming op_model_athlon.c to op_model_amd.c 2008-07-26 11:48:14 +02:00
nmi_int.c x86/oprofile: replace macros to calculate control register 2009-06-11 19:42:14 +02:00
nmi_timer_int.c x86: coding style fixes to arch/x86/oprofile/nmi_timer_int.c 2008-04-17 17:40:50 +02:00
op_counter.h oprofile: fixing whitespaces in arch/x86/oprofile/* 2008-10-16 17:17:46 +02:00
op_model_amd.c x86/oprofile: replace macros to calculate control register 2009-06-11 19:42:14 +02:00
op_model_p4.c x86/oprofile: pass the model to setup_ctrs() functions 2009-06-11 19:42:14 +02:00
op_model_ppro.c x86/oprofile: replace macros to calculate control register 2009-06-11 19:42:14 +02:00
op_x86_model.h x86/oprofile: replace macros to calculate control register 2009-06-11 19:42:14 +02:00