diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2019-11-27 08:42:21 +0900 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2019-12-09 10:53:04 -0700 |
commit | 25deae098e748d8d36bc35129a66734b8f6925c9 (patch) | |
tree | c4830f80a8cdd1e816ec76fe26547bb6c66dce83 /tools/scripts | |
parent | fd1baf6ca2ea3550ea47f2bb0bdcf34ec764a779 (diff) | |
download | linux-25deae098e748d8d36bc35129a66734b8f6925c9.tar.gz linux-25deae098e748d8d36bc35129a66734b8f6925c9.tar.bz2 linux-25deae098e748d8d36bc35129a66734b8f6925c9.zip |
selftests/ftrace: Fix ftrace test cases to check unsupported
Since dynamic function tracer can be disabled, set_ftrace_filter
can be disappeared. Test cases which depends on it, must check
whether the set_ftrace_filter exists or not before testing
and if not, return as unsupported.
Also, if the function tracer itself is disabled, we can not
set "function" to current_tracer. Test cases must check it
before testing, and return as unsupported.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/scripts')
0 files changed, 0 insertions, 0 deletions