diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2022-03-15 15:02:35 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-03-18 04:17:14 +0100 |
commit | f4616fabab39e084b5d7e15a32151d9a9aeab537 (patch) | |
tree | 61a3fb95829bee77582e37e9ab439065ad62dea3 /lib/Makefile | |
parent | docs: fprobe: Add fprobe description to ftrace-use.rst (diff) | |
download | linux-f4616fabab39e084b5d7e15a32151d9a9aeab537.tar.xz linux-f4616fabab39e084b5d7e15a32151d9a9aeab537.zip |
fprobe: Add a selftest for fprobe
Add a KUnit based selftest for fprobe interface.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Tested-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/164735295554.1084943.18347620679928750960.stgit@devnote2
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index 300f569c626b..154008764b16 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -103,6 +103,8 @@ obj-$(CONFIG_TEST_HMM) += test_hmm.o obj-$(CONFIG_TEST_FREE_PAGES) += test_free_pages.o obj-$(CONFIG_KPROBES_SANITY_TEST) += test_kprobes.o obj-$(CONFIG_TEST_REF_TRACKER) += test_ref_tracker.o +CFLAGS_test_fprobe.o += $(CC_FLAGS_FTRACE) +obj-$(CONFIG_FPROBE_SANITY_TEST) += test_fprobe.o # # CFLAGS for compiling floating point code inside the kernel. x86/Makefile turns # off the generation of FPU/SSE* instructions for kernel proper but FPU_FLAGS |