]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace/selftests: Update the direct call selftests to test two direct calls
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 8 Nov 2019 21:08:12 +0000 (16:08 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 13 Nov 2019 14:36:49 +0000 (09:36 -0500)
commit1b99746f06cf6bca71787769ad61a4be9d59def6
tree96a0307764cb05ee33237b5b6a9143dce0eb0eaa
parenta1d0e2c7d3a521462eccd03f8712f4915c28a7ad
ftrace/selftests: Update the direct call selftests to test two direct calls

The register_ftrace_direct() takes a different path if there's already a
direct call registered, but this was not tested in the self tests. Now that
there's a second direct caller test module, we can use this to test not only
one direct caller, but two.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/direct/ftrace-direct.tc
tools/testing/selftests/ftrace/test.d/direct/kprobe-direct.tc