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

Yu Liao liaoyu15 at huawei.com
Tue Oct 17 19:08:57 PDT 2023


Add loongarch support for the recently added kprobe args tests.

Signed-off-by: Yu Liao <liaoyu15 at huawei.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat at kernel.org>
Acked-by: Steven Rostedt (Google) <rostedt at goodmis.org>
---
 .../testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc | 3 +++
 1 file changed, 3 insertions(+)

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
-- 
2.25.1




More information about the linux-riscv mailing list