summaryrefslogtreecommitdiff
path: root/samples/ftrace/Makefile
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2021-10-08 12:13:36 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-10-21 21:19:00 +0300
commit5fae941b9a6f95773df644e7cf304bf199707876 (patch)
tree696dd6956ef422502ccf37fa2735374157cd2f08 /samples/ftrace/Makefile
parentccf5a89efd6f0a9483cea8acd4a0822b1a47e59a (diff)
downloadlinux-5fae941b9a6f95773df644e7cf304bf199707876.tar.xz
ftrace/samples: Add multi direct interface test module
Adding simple module that uses multi direct interface: register_ftrace_direct_multi unregister_ftrace_direct_multi The init function registers trampoline for 2 functions, and exit function unregisters them. Link: https://lkml.kernel.org/r/20211008091336.33616-9-jolsa@kernel.org Signed-off-by: Jiri Olsa <jolsa@kernel.org> 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 4ce896e10b2e..ab1d1c05c288 100644
--- a/samples/ftrace/Makefile
+++ b/samples/ftrace/Makefile
@@ -3,6 +3,7 @@
obj-$(CONFIG_SAMPLE_FTRACE_DIRECT) += ftrace-direct.o
obj-$(CONFIG_SAMPLE_FTRACE_DIRECT) += ftrace-direct-too.o
obj-$(CONFIG_SAMPLE_FTRACE_DIRECT) += ftrace-direct-modify.o
+obj-$(CONFIG_SAMPLE_FTRACE_DIRECT) += ftrace-direct-multi.o
CFLAGS_sample-trace-array.o := -I$(src)
obj-$(CONFIG_SAMPLE_TRACE_ARRAY) += sample-trace-array.o