]> err.no Git - linux-2.6/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)
commit42ed458aa51337357d7632c64aed4528f923e829
tree7ac9aafa6d995bcca812c679fc56b2fd15ab8916
parentd7731c0ff69dc3f18ea020257e627dae4d214fdb
[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