diff options
author | Yu Liao <liaoyu15@huawei.com> | 2023-10-18 05:08:58 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-10-18 23:33:44 +0300 |
commit | 11df28854bee7060508999c35afac53a0406fe7f (patch) | |
tree | f979bb6c4d9693161937ebe920ec9700458b3f1a /tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc | |
parent | 2eadb3299256087e901bed113b24e5807c2a9602 (diff) | |
download | linux-11df28854bee7060508999c35afac53a0406fe7f.tar.xz |
selftests/ftrace: Add riscv support for kprobe arg tests
This is the riscv variant of commit 9855c4626c67 ("selftests/ftrace:
Add ppc support for kprobe args tests").
Signed-off-by: Yu Liao <liaoyu15@huawei.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc')
-rw-r--r-- | tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc index a202b2ea4baf..4e086f871cee 100644 --- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc +++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_string.tc @@ -31,6 +31,9 @@ mips*) loongarch*) ARG1=%r4 ;; +riscv*) + ARG1=%a0 +;; *) echo "Please implement other architecture here" exit_untested |