• Steven Rostedt (VMware)'s avatar
    sh/function_graph: Simplify with function_graph_enter() · bc715ee4
    Steven Rostedt (VMware) authored
    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: 03274a3f ("tracing/fgraph: Adjust fgraph depth before calling trace return callback")
    Reviewed-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
    Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
    bc715ee4
Name
Last commit
Last update
..
cpu Loading commit data...
vsyscall Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
asm-offsets.c Loading commit data...
crash_dump.c Loading commit data...
debugtraps.S Loading commit data...
disassemble.c Loading commit data...
dma-coherent.c Loading commit data...
dumpstack.c Loading commit data...
dwarf.c Loading commit data...
entry-common.S Loading commit data...
ftrace.c Loading commit data...
head_32.S Loading commit data...
head_64.S Loading commit data...
hw_breakpoint.c Loading commit data...
idle.c Loading commit data...
io.c Loading commit data...
io_trapped.c Loading commit data...
iomap.c Loading commit data...
ioport.c Loading commit data...
irq.c Loading commit data...
irq_32.c Loading commit data...
irq_64.c Loading commit data...
kdebugfs.c Loading commit data...
kgdb.c Loading commit data...
kprobes.c Loading commit data...
machine_kexec.c Loading commit data...
machvec.c Loading commit data...
module.c Loading commit data...
nmi_debug.c Loading commit data...
perf_callchain.c Loading commit data...
perf_event.c Loading commit data...
process.c Loading commit data...
process_32.c Loading commit data...
process_64.c Loading commit data...
ptrace.c Loading commit data...
ptrace_32.c Loading commit data...
ptrace_64.c Loading commit data...
reboot.c Loading commit data...
relocate_kernel.S Loading commit data...
return_address.c Loading commit data...
setup.c Loading commit data...
sh_bios.c Loading commit data...
sh_ksyms_32.c Loading commit data...
sh_ksyms_64.c Loading commit data...
signal_32.c Loading commit data...
signal_64.c Loading commit data...
smp.c Loading commit data...
stacktrace.c Loading commit data...
swsusp.c Loading commit data...
sys_sh.c Loading commit data...
sys_sh32.c Loading commit data...
syscalls_32.S Loading commit data...
syscalls_64.S Loading commit data...
time.c Loading commit data...
topology.c Loading commit data...
traps.c Loading commit data...
traps_32.c Loading commit data...
traps_64.c Loading commit data...
unwinder.c Loading commit data...
vmlinux.lds.S Loading commit data...