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 |
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
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 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(+)