diff mbox series

[RESEND,1/2] selftests/ftrace: add loongarch support for kprobe args char tests

Message ID 20231018020858.1304218-2-liaoyu15@huawei.com
State Accepted
Commit 2eadb3299256087e901bed113b24e5807c2a9602
Headers show
Series [RESEND,1/2] selftests/ftrace: add loongarch support for kprobe args char tests | expand

Commit Message

Yu Liao Oct. 18, 2023, 2:08 a.m. UTC
Add loongarch support for the recently added 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>
---
 .../testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc
index ff7499eb98d6..2b04603a3b40 100644
--- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc
+++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc
@@ -28,6 +28,9 @@  s390*)
 mips*)
   ARG1=%r4
 ;;
+loongarch*)
+  ARG1=%r4
+;;
 *)
   echo "Please implement other architecture here"
   exit_untested