summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/ftrace/test.d/functions
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2020-06-03 05:40:49 +0300
committerShuah Khan <skhan@linuxfoundation.org>2020-06-16 19:41:32 +0300
commit74e6072894d6ccd9c950d1c9bce3870596731810 (patch)
treeaf03d803c137cd4aaaf3b4593a5ba497c79a1bc5 /tools/testing/selftests/ftrace/test.d/functions
parent3591e90fe1108909f822948bd7628412282f7e9d (diff)
downloadlinux-74e6072894d6ccd9c950d1c9bce3870596731810.tar.xz
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/functions7
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
}