]> git.karo-electronics.de Git - karo-tx-linux.git/commit
performance counters: x86 support
authorIngo Molnar <mingo@elte.hu>
Wed, 3 Dec 2008 09:39:53 +0000 (10:39 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 8 Dec 2008 14:47:15 +0000 (15:47 +0100)
commit241771ef016b5c0c83cd7a4372a74321c973c1e6
tree5893d72f1721af34daee82f27449bd35c9f65363
parente7bc62b6b3aeaa8849f8383e0cfb7ca6c003adc6
performance counters: x86 support

Implement performance counters for x86 Intel CPUs.

It's simplified right now: the PERFMON CPU feature is assumed,
which is available in Core2 and later Intel CPUs.

The design is flexible to be extended to more CPU types as well.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
21 files changed:
arch/x86/Kconfig
arch/x86/ia32/ia32entry.S
arch/x86/include/asm/hardirq_32.h
arch/x86/include/asm/hw_irq.h
arch/x86/include/asm/intel_arch_perfmon.h
arch/x86/include/asm/irq_vectors.h
arch/x86/include/asm/mach-default/entry_arch.h
arch/x86/include/asm/pda.h
arch/x86/include/asm/thread_info.h
arch/x86/include/asm/unistd_32.h
arch/x86/include/asm/unistd_64.h
arch/x86/kernel/apic.c
arch/x86/kernel/cpu/Makefile
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/perf_counter.c [new file with mode: 0644]
arch/x86/kernel/entry_64.S
arch/x86/kernel/irq.c
arch/x86/kernel/irqinit_32.c
arch/x86/kernel/irqinit_64.c
arch/x86/kernel/signal.c
arch/x86/kernel/syscall_table_32.S