aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/kernel/Makefile
diff options
context:
space:
mode:
authorGravatar Vasily Gorbik <gor@linux.ibm.com> 2023-01-17 14:37:10 +0100
committerGravatar Heiko Carstens <hca@linux.ibm.com> 2023-01-22 18:42:35 +0100
commit1a280f48c0e403903cf0b4231c95b948e664f25a (patch)
treeca19436318186e9a4f92573886a3da25f3f4621f /arch/s390/kernel/Makefile
parents390/cpum_sf: diagnostic sampling buffer setup to handle virtual addresses (diff)
downloadlinux-1a280f48c0e403903cf0b4231c95b948e664f25a.tar.gz
linux-1a280f48c0e403903cf0b4231c95b948e664f25a.tar.bz2
linux-1a280f48c0e403903cf0b4231c95b948e664f25a.zip
s390/kprobes: replace kretprobe with rethook
That's an adaptation of commit f3a112c0c40d ("x86,rethook,kprobes: Replace kretprobe with rethook on x86") to s390. Replaces the kretprobe code with rethook on s390. With this patch, kretprobe on s390 uses the rethook instead of kretprobe specific trampoline code. Tested-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/Makefile')
-rw-r--r--arch/s390/kernel/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kernel/Makefile b/arch/s390/kernel/Makefile
index 5e6a23299790..6065fabb781a 100644
--- a/arch/s390/kernel/Makefile
+++ b/arch/s390/kernel/Makefile
@@ -58,6 +58,7 @@ obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
obj-$(CONFIG_KPROBES) += kprobes.o
obj-$(CONFIG_KPROBES) += kprobes_insn_page.o
obj-$(CONFIG_KPROBES) += mcount.o
+obj-$(CONFIG_RETHOOK) += rethook.o
obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o
obj-$(CONFIG_FUNCTION_TRACER) += mcount.o
obj-$(CONFIG_CRASH_DUMP) += crash_dump.o