diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2020-06-03 11:40:49 +0900 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-06-16 10:41:32 -0600 |
commit | 74e6072894d6ccd9c950d1c9bce3870596731810 (patch) | |
tree | af03d803c137cd4aaaf3b4593a5ba497c79a1bc5 /tools/testing/selftests/ftrace/test.d/functions | |
parent | 3591e90fe1108909f822948bd7628412282f7e9d (diff) |
selftests/ftrace: Convert check_filter_file() with requires list
Since check_filter_file() is basically checking the filter
tracefs file, we can convert it into requires list.
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 'tools/testing/selftests/ftrace/test.d/functions')
-rw-r--r-- | tools/testing/selftests/ftrace/test.d/functions | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/testing/selftests/ftrace/test.d/functions b/tools/testing/selftests/ftrace/test.d/functions index 5100eb1ada0f..cd2756c77ed9 100644 --- a/tools/testing/selftests/ftrace/test.d/functions +++ b/tools/testing/selftests/ftrace/test.d/functions @@ -1,10 +1,3 @@ -check_filter_file() { # check filter file introduced by dynamic ftrace - if [ ! -f "$1" ]; then - echo "$1 not found? Is dynamic ftrace not set?" - exit_unsupported - fi -} - clear_trace() { # reset trace output echo > trace } |