android_kernel_xiaomi_sm8350/arch/x86/oprofile
Arjan van de Ven 5bc27dc2f5 x86: pull bp calculation earlier into the backtrace path
Right now, we take the stack pointer early during the backtrace path, but
only calculate bp several functions deep later, making it hard to reconcile
the stack and bp backtraces (as well as showing several internal backtrace
functions on the stack with bp based backtracing).

This patch moves the bp taking to the same place we take the stack pointer;
sadly this ripples through several layers of the back tracing stack,
but it's not all that bad in the end I hope.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:33:07 +01:00
..
backtrace.c x86: pull bp calculation earlier into the backtrace path 2008-01-30 13:33:07 +01:00
init.c
Makefile
nmi_int.c x86: fix style errors in nmi_int.c 2008-01-30 13:32:33 +01:00
nmi_timer_int.c
op_counter.h
op_model_athlon.c oprofile: op_model_athlon.c support for AMD family 10h barcelona performance counters 2007-12-18 18:05:58 +01:00
op_model_p4.c
op_model_ppro.c
op_x86_model.h spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00