Messages in this thread | | | From | Michael Ellerman <> | Subject | Re: [for-next][PATCH 05/24] powerpc/frace: Use ftrace_graph_get_ret_stack() instead of curr_ret_stack | Date | Sat, 22 Dec 2018 20:51:21 +1100 |
| |
Steven Rostedt <rostedt@goodmis.org> writes:
> From: "Steven Rostedt (VMware)" <rostedt@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@kernel.crashing.org> > Cc: Paul Mackerras <paulus@samba.org> > Cc: Michael Ellerman <mpe@ellerman.id.au> > Cc: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Steven Rostedt (VMware) <rostedt@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@ellerman.id.au> (powerpc)
cheers
| |