Xiao Yang 16bcd0f509 selftests/ftrace: Check required filter files before running test
Without CONFIG_DYNAMIC_FTRACE, some tests get failure because required
filter files(set_ftrace_filter/available_filter_functions/stack_trace_filter)
are missing.  So implement check_filter_file() and make all related tests
check required filter files by it.

BTW: set_ftrace_filter and available_filter_functions are introduced together
so just check either of them.

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2020-04-23 17:11:37 -06:00
..
2020-04-03 13:12:26 -07:00
2020-04-02 15:13:15 -07:00
2020-04-05 10:36:18 -07:00
2020-04-03 13:12:26 -07:00
2020-04-05 12:26:24 -07:00
2020-04-05 12:26:24 -07:00
2020-04-02 17:57:10 +01:00
2020-04-05 12:26:24 -07:00
2020-04-03 13:12:26 -07:00
2020-04-03 13:12:26 -07:00
2020-04-08 10:51:53 -07:00