ftrace: Add another example of register_ftrace_direct() use case
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 8 Nov 2019 20:27:45 +0000 (15:27 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 13 Nov 2019 14:36:49 +0000 (09:36 -0500)
commit156473a0ff4f9c209114b4c3ad968099eb541e33
tree3f754ce61fe3590c44c546704a5ca983fd92f16d
parent646f01ccdd59f989f0a1866d2b3503e1855358d8
ftrace: Add another example of register_ftrace_direct() use case

Add another module sample that registers a direct trampoline to a function
via register_ftrace_direct(). Having another module that does this allows to
test the use case of multiple direct callers registered, as more than one
direct caller goes into another path, and is needed to perform proper
testing of the register_ftrace_direct() call.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
samples/ftrace/Makefile
samples/ftrace/ftrace-direct-too.c [new file with mode: 0644]