]> git.baikalelectronics.ru Git - kernel.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)
commitf50c9001cd3033c0967a96241ebd3c6a3bad99ae
treeb4590f0c136a8ed8485a63f7ef23408842849664
parent6393ad92e91d6c1f2020832b383e23f94cb129df
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