perfmon2 patch for review: new i386 files
PATCH 6/11 perfmon2 patch for review: new i386 files
This files contains the new files for i386.
arch/i386/perfmon/Kconfig +27 -0
@@ -0,0 +1,27 @@ +config PERFMON_P6 + tristate "Support for P6/Pentium M processor hardware performance counters" + depends on PERFMON + default m + help + Enables support for the P6-style hardware performance counters. + To be used for P6 processors (Pentium III, PentiumPro) and also + for Pentium M. + If unsure, say M. + +config PERFMON_P4 + tristate "Support for 32-bit P4/Xeon hardware performance counters" + depends on PERFMON + default m + help + Enables support for the 32-bit P4/Xeon style hardware performance + counters. + If unsure, say M. + +config PERFMON_P4_PEBS + tristate "Support for Intel P4 PEBS sampling format" + depends on PERFMON_P4 + default m + help + Enables support for Precise Event-Based Sampling (PEBS) on the Intel P4 + processors which support it. Does not work with P6 processors. + If unsure, say m.
arch/i386/perfmon/Makefile +8 -0
@@ -0,0 +1,8 @@ +# +# Copyright (c) 2005-2006 Hewlett-Packard Development Company, L.P. +# Contributed by Stephane Eranian <[email protected]> +# +obj-$(CONFIG_PERFMON) += perfmon.o +obj-$(CONFIG_PERFMON_P6) += perfmon_p6.o +obj-$(CONFIG_PERFMON_P4) += perfmon_p4.o +obj-$(CONFIG_PERFMON_P4_PEBS) += perfmon_p4_pebs_smpl.o
arch/i386/perfmon/perfmon.c +1132 -0
1,132 lines not on this page · raw message
arch/i386/perfmon/perfmon_p4.c +405 -0
405 lines not on this page · raw message
arch/i386/perfmon/perfmon_p4_pebs_smpl.c +219 -0
219 lines not on this page · raw message
arch/i386/perfmon/perfmon_p6.c +154 -0
154 lines not on this page · raw message
include/asm-i386/perfmon.h +267 -0
267 lines not on this page · raw message
include/asm-i386/perfmon_p4_pebs_smpl.h +96 -0
96 lines not on this page · raw message