diff mbox series

[-next,1/2] selftests/ftrace: add loongarch support for kprobe args char tests

Message ID 20230815085912.701356-2-liaoyu15@huawei.com (mailing list archive)
State Superseded
Headers show
Series add loongarch and riscv support for kprobe args test | expand

Commit Message

Yu Liao Aug. 15, 2023, 8:59 a.m. UTC
Add loongarch support for the recently added kprobe args tests.

Signed-off-by: Yu Liao <liaoyu15@huawei.com>
---
 .../testing/selftests/ftrace/test.d/kprobe/kprobe_args_char.tc | 3 +++
 1 file changed, 3 insertions(+)

Comments

Masami Hiramatsu (Google) Aug. 16, 2023, 5:34 a.m. UTC | #1
On Tue, 15 Aug 2023 16:59:11 +0800
Yu Liao <liaoyu15@huawei.com> wrote:

> Add loongarch support for the recently added kprobe args tests.
> 

Looks good to me.

Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>

Thank you,

> Signed-off-by: Yu Liao <liaoyu15@huawei.com>
> ---
>  .../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 285b4770efad..3047fa96a7b7 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
>
diff mbox series

Patch

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 285b4770efad..3047fa96a7b7 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