OSDN Git Service

test_kprobes: Move it from kernel/ to lib/
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 26 Oct 2021 01:51:30 +0000 (09:51 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 26 Oct 2021 21:23:46 +0000 (17:23 -0400)
commitb9e94a7bb6fad880ba1ec0d58897480c62f587cf
tree474252f83698b1f71a2f97f0cf3b103ad44528e5
parent438697a39f0692d65a7a96e4debca139fa1be9fe
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/1635213091-24387-4-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/Makefile
lib/Makefile
lib/test_kprobes.c [moved from kernel/test_kprobes.c with 100% similarity]