]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] i386: Account spinlocks to the caller during profiling for !FP kernels
authorAndi Kleen <ak@suse.de>
Tue, 26 Sep 2006 08:52:28 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:28 +0000 (10:52 +0200)
commit0cb91a2293648507886563ccb91979cfc94d6a4b
treef2a994f8b874e3c81c5519d445a0c5fa5522e4b5
parentc16b63e09d9d03158e0a92e961234e94c4862620
[PATCH] i386: Account spinlocks to the caller during profiling for !FP kernels

This ports the algorithm from x86-64 (with improvements) to i386.
Previously this only worked for frame pointer enabled kernels.
But spinlocks have a very simple stack frame that can be manually
analyzed. Do this.

Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/time.c
include/asm-i386/ptrace.h
kernel/spinlock.c