linux-xiaomi-chiron/tools/testing/selftests/ftrace/test.d
Masami Hiramatsu fd1baf6ca2 selftests/ftrace: Fix to check the existence of set_ftrace_filter
If we run ftracetest on the kernel with CONFIG_DYNAMIC_FTRACE=n,
there is no set_ftrace_filter and all test cases are failed, because
reset_ftrace_filter() returns an error.
Let's check whether set_ftrace_filter exists in reset_ftrace_filter()
and clean up only set_ftrace_notrace in initialize_ftrace().

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2019-12-09 10:53:04 -07:00
..
00basic selftests/ftrace: Add trace_pipe testcase 2018-10-24 14:49:36 -06:00
direct ftrace/selftests: Fix spelling mistake "wakeing" -> "waking" 2019-11-15 11:30:38 -05:00
dynevent selftests/ftrace: Add testcases for dynamic event 2018-12-10 12:22:44 -05:00
event selftests/ftrace: Add trace_printk sample module test 2018-10-24 14:49:36 -06:00
ftrace selftests/ftrace: Add tracing/error_log testcase 2019-04-08 09:22:50 -04:00
instances selftests/ftrace: Introduce exit_pass and exit_fail 2017-11-15 08:07:53 -07:00
kprobe selftests/ftrace: Fix same probe error test 2019-09-28 17:13:40 -04:00
preemptirq kselftests: Add tests for the preemptoff and irqsoff tracers 2018-07-26 10:50:17 -04:00
selftest selftests/ftrace: Add checkbashisms meta-testcase 2019-05-24 13:38:29 -06:00
tracer selftests/ftrace: Fix invalid SPDX identifiers 2018-11-29 14:57:55 -07:00
trigger selftest/ftrace: Fix typo in trigger-snapshot.tc 2019-09-23 08:33:16 -06:00
functions selftests/ftrace: Fix to check the existence of set_ftrace_filter 2019-12-09 10:53:04 -07:00
template selftests/ftrace: Fix invalid SPDX identifiers 2018-11-29 14:57:55 -07:00