Skip to content

Commit b9e94a7

Browse files
seehearfeelrostedt
authored andcommitted
test_kprobes: Move it from kernel/ to lib/
Since config KPROBES_SANITY_TEST is in lib/Kconfig.debug, it is better to let test_kprobes.c in lib/, just like other similar tests found in lib/. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Tiezhu Yang <[email protected]> Acked-by: Masami Hiramatsu <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
1 parent 438697a commit b9e94a7

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

kernel/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ obj-$(CONFIG_PID_NS) += pid_namespace.o
8585
obj-$(CONFIG_IKCONFIG) += configs.o
8686
obj-$(CONFIG_IKHEADERS) += kheaders.o
8787
obj-$(CONFIG_SMP) += stop_machine.o
88-
obj-$(CONFIG_KPROBES_SANITY_TEST) += test_kprobes.o
8988
obj-$(CONFIG_AUDIT) += audit.o auditfilter.o
9089
obj-$(CONFIG_AUDITSYSCALL) += auditsc.o audit_watch.o audit_fsnotify.o audit_tree.o
9190
obj-$(CONFIG_GCOV_KERNEL) += gcov/

lib/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ obj-$(CONFIG_TEST_MEMINIT) += test_meminit.o
100100
obj-$(CONFIG_TEST_LOCKUP) += test_lockup.o
101101
obj-$(CONFIG_TEST_HMM) += test_hmm.o
102102
obj-$(CONFIG_TEST_FREE_PAGES) += test_free_pages.o
103+
obj-$(CONFIG_KPROBES_SANITY_TEST) += test_kprobes.o
103104

104105
#
105106
# CFLAGS for compiling floating point code inside the kernel. x86/Makefile turns
File renamed without changes.

0 commit comments

Comments
 (0)