]> 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)
commitde5f1d100ec0bde41931e9332da116f33077ea4d
tree96a0307764cb05ee33237b5b6a9143dce0eb0eaa
parentb9ae8768511b38fa9c9c4122235c7ebaace05e9b
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