WSL2-Linux-Kernel/arch/sh
Steven Rostedt (VMware) bc715ee4db sh/function_graph: Simplify with function_graph_enter()
The function_graph_enter() function does the work of calling the function
graph hook function and the management of the shadow stack, simplifying the
work done in the architecture dependent prepare_ftrace_return().

Have superh use the new code, and remove the shadow stack management as well as
having to set up the trace structure.

This is needed to prepare for a fix of a design bug on how the curr_ret_stack
is used.

Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: linux-sh@vger.kernel.org
Cc: stable@kernel.org
Fixes: 03274a3ffb ("tracing/fgraph: Adjust fgraph depth before calling trace return callback")
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2018-11-27 20:31:39 -05:00
..
boards Devicetree updates for 4.20: 2018-10-26 12:09:58 -07:00
boot
cchips
configs
drivers
include treewide: remove current_text_addr 2018-10-31 08:54:12 -07:00
kernel sh/function_graph: Simplify with function_graph_enter() 2018-11-27 20:31:39 -05:00
lib
lib64
math-emu
mm mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
oprofile
tools
Kconfig mm: remove CONFIG_HAVE_MEMBLOCK 2018-10-31 08:54:15 -07:00
Kconfig.cpu
Kconfig.debug
Makefile kbuild: rename LDFLAGS to KBUILD_LDFLAGS 2018-08-24 08:22:08 +09:00