linux/arch
Steven Rostedt (VMware) 0c0593b45c x86/ftrace: Make function graph use ftrace directly
We don't need special hook for graph tracer entry point,
but instead we can use graph_ops::func function to install
the return_hooker.

This moves the graph tracing setup _before_ the direct
trampoline prepares the stack, so the return_hooker will
be called when the direct trampoline is finished.

This simplifies the code, because we don't need to take into
account the direct trampoline setup when preparing the graph
tracer hooker and we can allow function graph tracer on entries
registered with direct trampoline.

Link: https://lkml.kernel.org/r/20211008091336.33616-4-jolsa@kernel.org

[fixed compile error reported by kernel test robot <lkp@intel.com>]
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2021-10-20 23:44:43 -04:00
..
alpha alpha: enable GENERIC_PCI_IOMAP unconditionally 2021-09-19 10:37:00 -07:00
arc ARC: Add instruction_pointer_set() API 2021-09-30 21:24:07 -04:00
arm ftrace: Cleanup ftrace_dyn_arch_init() 2021-10-08 19:41:39 -04:00
arm64 ftrace: Cleanup ftrace_dyn_arch_init() 2021-10-08 19:41:39 -04:00
csky ftrace: Cleanup ftrace_dyn_arch_init() 2021-10-08 19:41:39 -04:00
h8300 Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00
hexagon Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00
ia64 ftrace: Cleanup ftrace_dyn_arch_init() 2021-10-08 19:41:39 -04:00
m68k m68k: mvme: Remove overdue #warnings in RTC handling 2021-09-13 11:19:05 +02:00
microblaze ftrace: Cleanup ftrace_dyn_arch_init() 2021-10-08 19:41:39 -04:00
mips kprobes: treewide: Make it harder to refer kretprobe_trampoline directly 2021-09-30 21:24:06 -04:00
nds32 ftrace: Cleanup ftrace_dyn_arch_init() 2021-10-08 19:41:39 -04:00
nios2 Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00
openrisc Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00
parisc ftrace: Cleanup ftrace_dyn_arch_init() 2021-10-08 19:41:39 -04:00
powerpc kprobes: treewide: Make it harder to refer kretprobe_trampoline directly 2021-09-30 21:24:06 -04:00
riscv ftrace: Cleanup ftrace_dyn_arch_init() 2021-10-08 19:41:39 -04:00
s390 ftrace: Cleanup ftrace_dyn_arch_init() 2021-10-08 19:41:39 -04:00
sh ftrace: Cleanup ftrace_dyn_arch_init() 2021-10-08 19:41:39 -04:00
sparc ftrace: Cleanup ftrace_dyn_arch_init() 2021-10-08 19:41:39 -04:00
um This pull request contains the following changes for UML: 2021-09-09 13:45:26 -07:00
x86 x86/ftrace: Make function graph use ftrace directly 2021-10-20 23:44:43 -04:00
xtensa Tracing updates for 5.15: 2021-09-05 11:50:41 -07:00
.gitignore
Kconfig Merge branch 'akpm' (patches from Andrew) 2021-09-08 12:55:35 -07:00