summaryrefslogtreecommitdiff
path: root/samples/ftrace/Makefile
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2019-11-08 23:27:45 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-11-13 17:36:49 +0300
commit156473a0ff4f9c209114b4c3ad968099eb541e33 (patch)
tree3f754ce61fe3590c44c546704a5ca983fd92f16d /samples/ftrace/Makefile
parent646f01ccdd59f989f0a1866d2b3503e1855358d8 (diff)
downloadlinux-156473a0ff4f9c209114b4c3ad968099eb541e33.tar.xz
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>
Diffstat (limited to 'samples/ftrace/Makefile')
-rw-r--r--samples/ftrace/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/ftrace/Makefile b/samples/ftrace/Makefile
index 3718ab39eba3..d8217c4e072e 100644
--- a/samples/ftrace/Makefile
+++ b/samples/ftrace/Makefile
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_SAMPLE_FTRACE_DIRECT) += ftrace-direct.o
+obj-$(CONFIG_SAMPLE_FTRACE_DIRECT) += ftrace-direct-too.o