Re: [PATCH 0/8] ftrace/x86: function_graph stack dump fixes

From: Steven Rostedt
Date: Tue Aug 23 2016 - 10:28:00 EST


On Fri, 19 Aug 2016 06:52:54 -0500
Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:

> Some stack dump fixes related to function_graph tracing.
>
> Josh Poimboeuf (8):
> ftrace: remove CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST from config
> ftrace: only allocate the ret_stack 'fp' field when needed
> ftrace: add return address pointer to ftrace_ret_stack
> ftrace: add ftrace_graph_ret_addr() stack unwinding helpers
> x86/dumpstack/ftrace: convert dump_trace() callbacks to use
> ftrace_graph_ret_addr()
> ftrace/x86: implement HAVE_FUNCTION_GRAPH_RET_ADDR_PTR
> x86/dumpstack/ftrace: mark function graph handler function as
> unreliable
> x86/dumpstack/ftrace: don't print unreliable addresses in
> print_context_stack_bp()

For the series..

Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

Ingo,

If you want, please take it through tip.

Thanks!

-- Steve

>
> Documentation/trace/ftrace-design.txt | 11 ++++++
> arch/arm/kernel/ftrace.c | 2 +-
> arch/arm64/kernel/entry-ftrace.S | 2 +-
> arch/arm64/kernel/ftrace.c | 2 +-
> arch/blackfin/kernel/ftrace-entry.S | 4 +-
> arch/blackfin/kernel/ftrace.c | 2 +-
> arch/microblaze/kernel/ftrace.c | 2 +-
> arch/mips/kernel/ftrace.c | 4 +-
> arch/parisc/kernel/ftrace.c | 2 +-
> arch/powerpc/kernel/ftrace.c | 3 +-
> arch/s390/kernel/ftrace.c | 3 +-
> arch/sh/kernel/ftrace.c | 2 +-
> arch/sparc/Kconfig | 1 -
> arch/sparc/include/asm/ftrace.h | 4 ++
> arch/sparc/kernel/ftrace.c | 2 +-
> arch/tile/kernel/ftrace.c | 2 +-
> arch/x86/Kconfig | 1 -
> arch/x86/include/asm/ftrace.h | 3 ++
> arch/x86/kernel/dumpstack.c | 73 ++++++++++++++---------------------
> arch/x86/kernel/ftrace.c | 2 +-
> include/linux/ftrace.h | 17 +++++++-
> kernel/trace/Kconfig | 5 ---
> kernel/trace/trace_functions_graph.c | 67 +++++++++++++++++++++++++++++++-
> 23 files changed, 146 insertions(+), 70 deletions(-)
>