[PATCH V8 4/4] samples: ftrace: Add riscv support for SAMPLE_FTRACE_DIRECT[_MULTI]
Steven Rostedt
rostedt at goodmis.org
Fri May 12 19:57:28 PDT 2023
On Fri, 24 Mar 2023 11:33:42 +0800
Song Shuai <suagrfillet at gmail.com> wrote:
> select HAVE_SAMPLE_FTRACE_DIRECT and HAVE_SAMPLE_FTRACE_DIRECT_MULTI
> for ARCH_RV64I in arch/riscv/Kconfig. And add riscv asm code for
> the ftrace-direct*.c files in samples/ftrace/.
>
> Link: https://lore.kernel.org/linux-riscv/c68bac83-5c88-80b1-bac9-e1fd4ea8f07e@yadro.com/T/#ma13012560331c66b051b580b3ab4a04ba44455ec
> Tested-by: Evgenii Shatokhin <e.shatokhin at yadro.com>
> Signed-off-by: Song Shuai <suagrfillet at gmail.com>
> Tested-by: Guo Ren <guoren at kernel.org>
> Signed-off-by: Guo Ren <guoren at kernel.org>
> ---
> arch/riscv/Kconfig | 2 ++
> samples/ftrace/ftrace-direct-modify.c | 33 +++++++++++++++++
> samples/ftrace/ftrace-direct-multi-modify.c | 39 +++++++++++++++++++++
> samples/ftrace/ftrace-direct-multi.c | 23 ++++++++++++
> samples/ftrace/ftrace-direct-too.c | 26 ++++++++++++++
> samples/ftrace/ftrace-direct.c | 22 ++++++++++++
Acked-by: Steven Rostedt (Google) <rostedt at goodmis.org>
I'm assuming this will go through the RISCV tree.
-- Steve
> 6 files changed, 145 insertions(+)
More information about the linux-riscv
mailing list