diff mbox series

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

Message ID 20220416114848.25288-1-zhangze@loongson.cn (mailing list archive)
State Accepted
Commit 2238a1f49006dbef3f25e201bffbdab392d0baef
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_string.tc       | 3 +++
 1 file changed, 3 insertions(+)

Comments

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

Patch

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