]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1d0e2c7d3a521462eccd03f8712f4915c28a7ad
tree3f754ce61fe3590c44c546704a5ca983fd92f16d
parent550d5226771d7e085b5019146a4c43d395b2d957
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]