Commit 8883bf83 authored by Qing Zhang's avatar Qing Zhang Committed by Huacai Chen

selftests/ftrace: Add LoongArch kprobe args string tests support

Before:
[5] Kprobe event string type argument	[UNTESTED]
[7] Kprobe event argument syntax	[UNTESTED]

After:
[5] Kprobe event string type argument	[PASS]
[7] Kprobe event argument syntax	[PASS]
Signed-off-by: default avatarQing Zhang <zhangqing@loongson.cn>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent eb4071b9
...@@ -28,6 +28,9 @@ s390*) ...@@ -28,6 +28,9 @@ s390*)
mips*) mips*)
ARG1=%r4 ARG1=%r4
;; ;;
loongarch*)
ARG1=%r4
;;
*) *)
echo "Please implement other architecture here" echo "Please implement other architecture here"
exit_untested exit_untested
......
...@@ -40,6 +40,10 @@ mips*) ...@@ -40,6 +40,10 @@ mips*)
GOODREG=%r4 GOODREG=%r4
BADREG=%r12 BADREG=%r12
;; ;;
loongarch*)
GOODREG=%r4
BADREG=%r12
;;
*) *)
echo "Please implement other architecture here" echo "Please implement other architecture here"
exit_untested exit_untested
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment