diff mbox series

[2/2] selftests/ftrace: add mips support for kprobe args syntax tests

Message ID 20220416114848.25288-2-zhangze@loongson.cn (mailing list archive)
State Accepted
Commit d490527d30d7cec49257ceb1092ebf974d3303f5
Headers show
Series [1/2] selftests/ftrace: add mips support for kprobe args string tests | expand

Commit Message

Ze Zhang April 16, 2022, 11:48 a.m. UTC
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(+)

Comments

Steven Rostedt April 18, 2022, 5:30 p.m. UTC | #1
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
Masami Hiramatsu (Google) April 19, 2022, 1:12 a.m. UTC | #2
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
diff mbox series

Patch

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