ftrace: Add sample module that uses register_ftrace_direct()
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 8 Nov 2019 18:12:33 +0000 (13:12 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 13 Nov 2019 14:36:49 +0000 (09:36 -0500)
commitb06457c83af669bb9ef71f5b84a3132657dce8a1
tree0358038475936f4553ed8a63e4bbaa32b0469af7
parent013bf0da0474816f57739daa006c8564ad7396a3
ftrace: Add sample module that uses register_ftrace_direct()

Add a sample module that shows a simple use case for
regsiter_ftrace_direct(), and how to use it.

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