linux-xiaomi-chiron/tools/testing/selftests/ftrace/test.d
Steven Rostedt (VMware) 646f01ccdd ftrace/selftest: Add tests to test register_ftrace_direct()
Add two test cases that test the new ftrace direct functionality if the
ftrace-direct sample module is available. One test case tests against each
available tracer (function, function_graph, mmiotrace, etc), and the other
test tests against a kprobe at the same location as the direct caller. Both
tests follow the same pattern of testing combinations:

  enable test (either the tracer or the kprobe)
  load direct function module
  unload direct function module
  disable test

  enable test
  load direct function module
  disable test
  unload direct function module

  load direct function module
  enable test
  disable test
  unload direct function module

  load direct function module
  enable test
  unload direct function module
  disable test

As most the bugs in development happened with various ways of enabling or
disabling the direct calls with function tracer in one of these
combinations.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2019-11-13 09:36:49 -05:00
..
00basic selftests/ftrace: Add trace_pipe testcase 2018-10-24 14:49:36 -06:00
direct ftrace/selftest: Add tests to test register_ftrace_direct() 2019-11-13 09:36:49 -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: Add syntax error test for multiprobe 2019-08-31 12:19:39 -04:00
template selftests/ftrace: Fix invalid SPDX identifiers 2018-11-29 14:57:55 -07:00