diff options
author | Jiri Olsa <jolsa@redhat.com> | 2021-10-08 11:13:36 +0200 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-10-21 20:19:00 +0200 |
commit | 5fae941b9a6f95773df644e7cf304bf199707876 (patch) | |
tree | 696dd6956ef422502ccf37fa2735374157cd2f08 /samples/ftrace/Makefile | |
parent | ftrace: Add multi direct modify interface (diff) | |
download | linux-5fae941b9a6f95773df644e7cf304bf199707876.tar.xz linux-5fae941b9a6f95773df644e7cf304bf199707876.zip |
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/Makefile | 1 |
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 |