linux/arch/nds32/kernel
Steven Rostedt (VMware) d48ebb2486 nds32: 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 nds32 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: Greentime Hu <greentime@andestech.com>
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:30:43 -05:00
..
vdso nds32: fix building failed if using elf toolchain. 2018-03-16 15:45:22 +08:00
asm-offsets.c
atl2c.c nds32: add NULL entry to the end of_device_id array 2018-09-04 14:45:15 +08:00
cacheinfo.c
devtree.c nds32: Device tree support 2018-02-22 10:44:34 +08:00
dma.c nds32: use generic dma_noncoherent_ops 2018-05-29 16:10:32 +02:00
ex-entry.S nds32: Fix a kernel panic issue because of wrong frame pointer access. 2018-09-04 14:45:19 +08:00
ex-exit.S nds32: Fix a kernel panic issue because of wrong frame pointer access. 2018-09-04 14:45:19 +08:00
ex-scall.S
ftrace.c nds32: function_graph: Simplify with function_graph_enter() 2018-11-27 20:30:43 -05:00
head.S nds32: To fix a cache inconsistency issue by setting correct cacheability of NTC 2018-05-23 13:26:22 +08:00
irq.c
Makefile nds32/ftrace: Support static function tracer 2018-09-04 14:45:17 +08:00
module.c nds32: fix logic for module 2018-09-04 14:45:15 +08:00
nds32_ksyms.c
process.c
ptrace.c
setup.c mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
signal.c
stacktrace.c nds32: Add macro definition for offset of lp register on stack 2018-09-04 14:45:19 +08:00
sys_nds32.c
syscall_table.c
time.c
traps.c nds32: Only print one page of stack when die to prevent printing too much information. 2018-09-04 14:45:19 +08:00
vdso.c nds32: Fix compiler warning, Wstringop-overflow, in vdso.c 2018-05-23 13:26:22 +08:00
vmlinux.lds.S nds32: linker script: GCOV kernel may refers data in __exit 2018-09-05 10:16:26 +08:00