]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] i386: i386 add X86_FEATURE_PEBS and detection
authorStephane Eranian <eranian@hpl.hp.com>
Thu, 7 Dec 2006 01:14:01 +0000 (02:14 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:01 +0000 (02:14 +0100)
commit9da6d6be24f7b5c7082b18c22183017f55eaef15
tree7ac9aafa6d995bcca812c679fc56b2fd15ab8916
parenta2a8bbbd92ec657dc77b3e1ade2dfcda593a48e6
[PATCH] i386: i386 add X86_FEATURE_PEBS and detection

Here is a patch (used by perfmon2) to detect the presence of the Precise Event
Based Sampling (PEBS) feature for i386.  The patch also adds the cpu_has_pebs
macro.

- adds X86_FEATURE_PEBS

- adds cpu_has_pebs to test for X86_FEATURE_PEBS

Signed-off-by: stephane eranian <eranian@hpl.hp.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
arch/i386/kernel/cpu/intel.c
include/asm-i386/cpufeature.h