This is the mips variant of commit <3990b5baf225> ("selftests/ftrace: Add s390 support for kprobe args tests").
Signed-off-by: Ze Zhang zhangze@loongson.cn --- .../selftests/ftrace/test.d/kprobe/kprobe_args_string.tc | 3 +++ 1 file changed, 3 insertions(+)
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 dc7ade196798..459741565222 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 @@ -25,6 +25,9 @@ ppc*) s390*) ARG1=%r2 ;; +mips*) + ARG1=%r4 +;; *) echo "Please implement other architecture here" exit_untested
This is the mips variant of commit <3990b5baf225> ("selftests/ftrace: Add s390 support for kprobe args tests").
Signed-off-by: Ze Zhang zhangze@loongson.cn --- .../selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc index 47d84b5cb6ca..d4662c8cf407 100644 --- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc +++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc @@ -36,6 +36,10 @@ s390*) GOODREG=%r2 BADREG=%s2 ;; +mips*) + GOODREG=%r4 + BADREG=%r12 +;; *) echo "Please implement other architecture here" exit_untested
On Sat, 16 Apr 2022 19:48:48 +0800 Ze Zhang zhangze@loongson.cn wrote:
This is the mips variant of commit <3990b5baf225> ("selftests/ftrace: Add s390 support for kprobe args tests").
Signed-off-by: Ze Zhang zhangze@loongson.cn
.../selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc index 47d84b5cb6ca..d4662c8cf407 100644 --- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc +++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc @@ -36,6 +36,10 @@ s390*) GOODREG=%r2 BADREG=%s2 ;; +mips*)
- GOODREG=%r4
- BADREG=%r12
+;; *) echo "Please implement other architecture here" exit_untested
This needs an Ack from Masami as well.
Acked-by: Steven Rostedt (Google) rostedt@goodmis.org
-- Steve
On Mon, 18 Apr 2022 13:30:45 -0400 Steven Rostedt rostedt@goodmis.org wrote:
On Sat, 16 Apr 2022 19:48:48 +0800 Ze Zhang zhangze@loongson.cn wrote:
This is the mips variant of commit <3990b5baf225> ("selftests/ftrace: Add s390 support for kprobe args tests").
Great!
Acked-by: Masami Hiramatsu mhiramat@kernel.org
Thanks!
Signed-off-by: Ze Zhang zhangze@loongson.cn
.../selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc index 47d84b5cb6ca..d4662c8cf407 100644 --- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc +++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_syntax.tc @@ -36,6 +36,10 @@ s390*) GOODREG=%r2 BADREG=%s2 ;; +mips*)
- GOODREG=%r4
- BADREG=%r12
+;; *) echo "Please implement other architecture here" exit_untested
This needs an Ack from Masami as well.
Acked-by: Steven Rostedt (Google) rostedt@goodmis.org
-- Steve
On Sat, 16 Apr 2022 19:48:47 +0800 Ze Zhang zhangze@loongson.cn wrote:
This is the mips variant of commit <3990b5baf225> ("selftests/ftrace: Add s390 support for kprobe args tests").
Signed-off-by: Ze Zhang zhangze@loongson.cn
.../selftests/ftrace/test.d/kprobe/kprobe_args_string.tc | 3 +++ 1 file changed, 3 insertions(+)
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 dc7ade196798..459741565222 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 @@ -25,6 +25,9 @@ ppc*) s390*) ARG1=%r2 ;; +mips*)
- ARG1=%r4
+;; *) echo "Please implement other architecture here" exit_untested
Needs an Ack from Masami, and then Shuah could take it.
Acked-by: Steven Rostedt (Google) rostedt@goodmis.org
-- Steve
On Mon, 18 Apr 2022 13:29:57 -0400 Steven Rostedt rostedt@goodmis.org wrote:
On Sat, 16 Apr 2022 19:48:47 +0800 Ze Zhang zhangze@loongson.cn wrote:
This is the mips variant of commit <3990b5baf225> ("selftests/ftrace: Add s390 support for kprobe args tests").
Thanks for adding MIPS support!
Acked-by: Masami Hiramatsu mhiramat@kernel.org
Thank you!
Signed-off-by: Ze Zhang zhangze@loongson.cn
.../selftests/ftrace/test.d/kprobe/kprobe_args_string.tc | 3 +++ 1 file changed, 3 insertions(+)
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 dc7ade196798..459741565222 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 @@ -25,6 +25,9 @@ ppc*) s390*) ARG1=%r2 ;; +mips*)
- ARG1=%r4
+;; *) echo "Please implement other architecture here" exit_untested
Needs an Ack from Masami, and then Shuah could take it.
Acked-by: Steven Rostedt (Google) rostedt@goodmis.org
-- Steve
On 4/18/22 7:12 PM, Masami Hiramatsu wrote:
On Mon, 18 Apr 2022 13:29:57 -0400 Steven Rostedt rostedt@goodmis.org wrote:
On Sat, 16 Apr 2022 19:48:47 +0800 Ze Zhang zhangze@loongson.cn wrote:
This is the mips variant of commit <3990b5baf225> ("selftests/ftrace: Add s390 support for kprobe args tests").
Thanks for adding MIPS support!
Acked-by: Masami Hiramatsu mhiramat@kernel.org
Thank you!
Signed-off-by: Ze Zhang zhangze@loongson.cn
Thank you all. I will pick this up for next
thanks, -- Shuah
linux-kselftest-mirror@lists.linaro.org