linux_dsm_epyc7002/arch/x86/oprofile
Andi Kleen b991702884 oprofile: Implement Intel architectural perfmon support
Newer Intel CPUs (Core1+) have support for architectural
events described in CPUID 0xA. See the IA32 SDM Vol3b.18 for details.

The advantage of this is that it can be done without knowing about
the specific CPU, because the CPU describes by itself what
performance events are supported. This is only a fallback
because only a limited set of 6 events are supported.
This allows to do profiling on Nehalem and on Atom systems
(later not tested)

This patch implements support for that in oprofile's Intel
Family 6 profiling module. It also has the advantage of supporting
an arbitary number of events now as reported by the CPU.
Also allow arbitary counter widths >32bit while we're at it.

Requires a patched oprofile userland to support the new
architecture.

v2: update for latest oprofile tree
    remove force_arch_perfmon

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
2008-10-13 19:25:09 +02:00
..
backtrace.c x86: rename stack_pointer to kernel_trap_sp 2008-01-30 13:33:16 +01: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 oprofile: Implement Intel architectural perfmon support 2008-10-13 19:25:09 +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 Revert "Oprofile Multiplexing Patch" 2008-09-24 11:08:52 +02:00
op_model_amd.c Revert "Oprofile Multiplexing Patch" 2008-09-24 11:08:52 +02:00
op_model_p4.c Revert "Oprofile Multiplexing Patch" 2008-09-24 11:08:52 +02:00
op_model_ppro.c oprofile: Implement Intel architectural perfmon support 2008-10-13 19:25:09 +02:00
op_x86_model.h oprofile: Implement Intel architectural perfmon support 2008-10-13 19:25:09 +02:00