diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2012-06-20 13:11:38 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-07-05 22:59:07 +0400 |
commit | ce5c1fe9a9e059b5c58f0a7e2a3e687d0efac815 (patch) | |
tree | 9405386325c5df9189705807c8fea36a55f2ad25 /arch/x86/lib | |
parent | 9e85a6f9dc231f3ed3c1dc1b12217505d970142a (diff) | |
download | linux-ce5c1fe9a9e059b5c58f0a7e2a3e687d0efac815.tar.xz |
perf/x86: Fix USER/KERNEL tagging of samples
Several perf interrupt handlers (PEBS,IBS,BTS) re-write regs->ip but
do not update the segment registers. So use an regs->ip based test
instead of an regs->cs/regs->flags based test.
Reported-and-tested-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/n/tip-xxrt0a1zronm1sm36obwc2vy@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/lib')
0 files changed, 0 insertions, 0 deletions