]> www.infradead.org Git - users/willy/linux.git/commit
selftests/ftrace: Return unsupported for the unconfigured features
authorMasami Hiramatsu <mhiramat@kernel.org>
Wed, 3 Jun 2020 02:40:19 +0000 (11:40 +0900)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 16 Jun 2020 15:16:27 +0000 (09:16 -0600)
commit1e11b7dbef17bb6315f08771a64d86ab20fc037b
treeb4590f0c136a8ed8485a63f7ef23408842849664
parent76ebbc2736434f210d0fe4a41cc3232b0dae4563
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>
tools/testing/selftests/ftrace/test.d/direct/kprobe-direct.tc
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args_user.tc