rethook, fprobe: do not trace rethook related functions
[platform/kernel/linux-starfive.git] / arch / riscv / kernel / probes / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 obj-$(CONFIG_KPROBES)           += kprobes.o decode-insn.o simulate-insn.o
3 obj-$(CONFIG_RETHOOK)           += rethook.o rethook_trampoline.o
4 obj-$(CONFIG_KPROBES_ON_FTRACE) += ftrace.o
5 obj-$(CONFIG_UPROBES)           += uprobes.o decode-insn.o simulate-insn.o
6 CFLAGS_REMOVE_simulate-insn.o = $(CC_FLAGS_FTRACE)
7 CFLAGS_REMOVE_rethook.o = $(CC_FLAGS_FTRACE)
8 CFLAGS_REMOVE_rethook_trampoline.o = $(CC_FLAGS_FTRACE)