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)
commited9dafebce52206382de96bd5bbdff22335930f6
tree96a0307764cb05ee33237b5b6a9143dce0eb0eaa
parent156473a0ff4f9c209114b4c3ad968099eb541e33
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