x86: Save stack pointer in perf live regs savings
authorFrederic Weisbecker <fweisbec@gmail.com>
Sat, 2 Jul 2011 13:00:52 +0000 (15:00 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sat, 2 Jul 2011 16:04:03 +0000 (18:04 +0200)
commit9e46294dadedc0c04adcb8ce760bd2cd74f7332d
tree35d20bd33678e9ae18aeccab48f80dc64a5c6426
parentaf07ce3e77d3b24ab1d71fcc5833d41800f23b2b
x86: Save stack pointer in perf live regs savings

In order to prepare for fetching the stack pointer from the
regs when possible in dump_trace() instead of taking the
local one, save the current stack pointer in perf live regs saving.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
arch/x86/include/asm/perf_event.h