]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fgraph: Replace fgraph_ret_regs with ftrace_regs
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Thu, 26 Dec 2024 05:11:55 +0000 (14:11 +0900)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 26 Dec 2024 15:50:02 +0000 (10:50 -0500)
commita3ed4157b7d89800a0008de0c9e46a438a5c3745
tree5534e8e1c01ae25ef7b6ca3cffbd4a6079a50fb2
parent41705c4262aaca49b8d9fe9b24fe048dc6c2b301
fgraph: Replace fgraph_ret_regs with ftrace_regs

Use ftrace_regs instead of fgraph_ret_regs for tracing return value
on function_graph tracer because of simplifying the callback interface.

The CONFIG_HAVE_FUNCTION_GRAPH_RETVAL is also replaced by
CONFIG_HAVE_FUNCTION_GRAPH_FREGS.

Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Acked-by: Will Deacon <will@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Cc: Florent Revest <revest@chromium.org>
Cc: Martin KaFai Lau <martin.lau@linux.dev>
Cc: bpf <bpf@vger.kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Alan Maguire <alan.maguire@oracle.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Huacai Chen <chenhuacai@kernel.org>
Cc: WANG Xuerui <kernel@xen0n.name>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Alexander Gordeev <agordeev@linux.ibm.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: x86@kernel.org
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://lore.kernel.org/173518991508.391279.16635322774382197642.stgit@devnote2
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
24 files changed:
arch/arm64/Kconfig
arch/arm64/include/asm/ftrace.h
arch/arm64/kernel/asm-offsets.c
arch/arm64/kernel/entry-ftrace.S
arch/loongarch/Kconfig
arch/loongarch/include/asm/ftrace.h
arch/loongarch/kernel/asm-offsets.c
arch/loongarch/kernel/mcount.S
arch/loongarch/kernel/mcount_dyn.S
arch/riscv/Kconfig
arch/riscv/include/asm/ftrace.h
arch/riscv/kernel/mcount.S
arch/s390/Kconfig
arch/s390/include/asm/ftrace.h
arch/s390/kernel/asm-offsets.c
arch/s390/kernel/mcount.S
arch/x86/Kconfig
arch/x86/include/asm/ftrace.h
arch/x86/kernel/ftrace_32.S
arch/x86/kernel/ftrace_64.S
include/linux/ftrace.h
include/linux/ftrace_regs.h
kernel/trace/Kconfig
kernel/trace/fgraph.c