Re: [PATCH 2/6] MIPS: move FTRACE_SYSCALLS from ftrace.c into syscall.c
From: Huang Pei <hidden>
Date: 2021-03-26 14:10:14
Also in:
linux-arch, linux-mips
From: Huang Pei <hidden>
Date: 2021-03-26 14:10:14
Also in:
linux-arch, linux-mips
I was intended to add -fpatchable-function-entry based new ftrace implementation in parallel with old -pg based one, which is enabled by supported gcc version at build time, since +. the fix for -fpatchable-function-entry is not merge into upstream; +. the -fpatchable-function-entry does not support static function tracing which is rarely used today, which is only implemented in the old -pg based implementation; Move FTRACE_SYSCALLS into syscall.c, so both new and old implementation can easily be switched freely. When everything is all right, old one can be easily removed, and that is patch 1/2/3 intended for
On Mar 26, 2021, at 3:38 AM, Steven Rostedt [off-list ref] wrote: On Sat, 13 Mar 2021 14:41:45 +0800 Huang Pei [off-list ref] wrote: Why? -- Stevequoted
Signed-off-by: Huang Pei <redacted> --- arch/mips/kernel/Makefile | 1 - arch/mips/kernel/ftrace.c | 33 --------------------------------- arch/mips/kernel/syscall.c | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 34 deletions(-)