android_kernel_samsung_sm8650/tools/testing/selftests/ftrace/test.d
Steven Rostedt (VMware) a098d9c82a selftests/ftrace: Have pid filter test use instance flag
While running the ftracetests, the pid filter test failed because the
instance "foo" existed, and it was using it to rerun the test under a
instance named foo. The collision caused the test to fail as the mkdir
failed as the name already existed.

As of commit b5b77be812 ("selftests: ftrace: Allow some tests to be run
in a tracing instance") all a selftest needs to do to be tested in an
instance is to set the "instance" flag. There's no reason a selftest needs
to create an instance to run its test in an instance directly.

Remove the open coded testing in an instance for the pid filter test and
have it set the "instance" flag instead.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2020-02-10 17:59:44 -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: Have pid filter test use instance flag 2020-02-10 17:59:44 -07:00
instances selftests/ftrace: Introduce exit_pass and exit_fail 2017-11-15 08:07:53 -07:00
kprobe selftests/ftrace: Fix multiple kprobe testcase 2019-12-09 10:53:04 -07: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 tracing: Add new testcases for hist trigger parsing errors 2020-01-28 23:17:31 -05: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