[for-next][PATCH 05/24] powerpc/frace: Use ftrace_graph_get_ret_stack() instead of curr_ret_stack
Michael Ellerman
mpe at ellerman.id.au
Sat Dec 22 20:51:21 AEDT 2018
Steven Rostedt <rostedt at goodmis.org> writes:
> From: "Steven Rostedt (VMware)" <rostedt at goodmis.org>
>
> The structure of the ret_stack array on the task struct is going to
> change, and accessing it directly via the curr_ret_stack index will no
> longer give the ret_stack entry that holds the return address. To access
> that, architectures must now use ftrace_graph_get_ret_stack() to get the
> associated ret_stack that matches the saved return address.
>
> Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Cc: Paul Mackerras <paulus at samba.org>
> Cc: Michael Ellerman <mpe at ellerman.id.au>
> Cc: linuxppc-dev at lists.ozlabs.org
> Signed-off-by: Steven Rostedt (VMware) <rostedt at goodmis.org>
> ---
> arch/powerpc/kernel/process.c | 13 +++++++++----
> 1 file changed, 9 insertions(+), 4 deletions(-)
I did test the previous series you posted and I think everything was OK
running the ftracetest suite (I got one or two fails but I think that
was because of missing CONFIG options).
Acked-by: Michael Ellerman <mpe at ellerman.id.au> (powerpc)
cheers
More information about the Linuxppc-dev
mailing list