aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_user.tc
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2020-06-03 11:40:19 +0900
committerShuah Khan <skhan@linuxfoundation.org>2020-06-16 09:16:27 -0600
commit1e11b7dbef17bb6315f08771a64d86ab20fc037b (patch)
treeb4590f0c136a8ed8485a63f7ef23408842849664 /tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_user.tc
parentselftests/ftrace: Allow ":" in description (diff)
downloadwireguard-linux-1e11b7dbef17bb6315f08771a64d86ab20fc037b.tar.xz
wireguard-linux-1e11b7dbef17bb6315f08771a64d86ab20fc037b.zip
selftests/ftrace: Return unsupported for the unconfigured features
As same as other test cases, return unsupported if kprobe_events or argument access feature are not found. There can be a new arch which does not port those features yet, and an older kernel which doesn't support it. Those can not enable the features. Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Reviewed-by: Tom Zanussi <zanussi@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_user.tc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_user.tc b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_user.tc
index 0f60087583d8..b41471f301ab 100644
--- a/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_user.tc
+++ b/tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_user.tc
@@ -4,7 +4,7 @@
[ -f kprobe_events ] || exit_unsupported # this is configurable
-grep -q '\$arg<N>' README || exit_unresolved # depends on arch
+grep -q '\$arg<N>' README || exit_unsupported # depends on arch
grep -A10 "fetcharg:" README | grep -q 'ustring' || exit_unsupported
grep -A10 "fetcharg:" README | grep -q '\[u\]<offset>' || exit_unsupported