mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 18:24:14 +08:00
9a7c348ba6
Storing this value will help prevent unwinders from getting out of sync with the function graph tracer ret_stack. Now instead of needing a stateful iterator, they can compare the return address pointer to find the right ret_stack entry. Note that an array of 50 ftrace_ret_stack structs is allocated for every task. So when an arch implements this, it will add either 200 or 400 bytes of memory usage per task (depending on whether it's a 32-bit or 64-bit platform). Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Acked-by: Steven Rostedt <rostedt@goodmis.org> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Byungchul Park <byungchul.park@lge.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Kees Cook <keescook@chromium.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Nilay Vaish <nilayvaish@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/a95cfcc39e8f26b89a430c56926af0bb217bc0a1.1471607358.git.jpoimboe@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org> |
||
---|---|---|
.. | ||
cplb-mpu | ||
cplb-nompu | ||
.gitignore | ||
asm-offsets.c | ||
bfin_dma.c | ||
bfin_gpio.c | ||
bfin_ksyms.c | ||
cplbinfo.c | ||
debug-mmrs.c | ||
dma-mapping.c | ||
dumpstack.c | ||
early_printk.c | ||
entry.S | ||
exception.c | ||
fixed_code.S | ||
flat.c | ||
ftrace-entry.S | ||
ftrace.c | ||
gptimers.c | ||
ipipe.c | ||
irqchip.c | ||
kgdb_test.c | ||
kgdb.c | ||
Makefile | ||
module.c | ||
nmi.c | ||
perf_event.c | ||
process.c | ||
pseudodbg.c | ||
ptrace.c | ||
reboot.c | ||
setup.c | ||
shadow_console.c | ||
signal.c | ||
stacktrace.c | ||
sys_bfin.c | ||
time-ts.c | ||
time.c | ||
trace.c | ||
traps.c | ||
vmlinux.lds.S |