arch/arm64/include/asm/ftrace.h | 21 ++++++------ arch/arm64/kernel/asm-offsets.c | 22 ++++++------- arch/arm64/kernel/ftrace.c | 10 +++--- arch/loongarch/include/asm/ftrace.h | 29 +++-------------- arch/loongarch/kernel/ftrace_dyn.c | 2 +- arch/powerpc/include/asm/ftrace.h | 27 ++-------------- arch/powerpc/kernel/trace/ftrace.c | 4 +-- arch/powerpc/kernel/trace/ftrace_64_pg.c | 2 +- arch/riscv/include/asm/ftrace.h | 22 +++++++------ arch/riscv/kernel/asm-offsets.c | 28 ++++++++-------- arch/riscv/kernel/ftrace.c | 2 +- arch/s390/include/asm/ftrace.h | 29 +++-------------- arch/s390/kernel/asm-offsets.c | 4 +-- arch/s390/kernel/ftrace.c | 2 +- arch/s390/lib/test_unwind.c | 4 +-- arch/x86/include/asm/ftrace.h | 30 ++++------------- arch/x86/kernel/ftrace.c | 2 +- include/linux/ftrace.h | 55 ++++++++++++-------------------- include/linux/ftrace_regs.h | 36 +++++++++++++++++++++ kernel/trace/fgraph.c | 45 ++++++++++++++++---------- kernel/trace/ftrace.c | 5 ++- kernel/trace/trace.h | 3 +- kernel/trace/trace_functions_graph.c | 22 ++++++------- kernel/trace/trace_irqsoff.c | 3 +- kernel/trace/trace_sched_wakeup.c | 3 +- kernel/trace/trace_selftest.c | 8 ++--- 26 files changed, 188 insertions(+), 232 deletions(-) create mode 100644 include/linux/ftrace_regs.h