Thread (21 messages) 21 messages, 5 authors, 2023-05-17

Re: [PATCH v2 4/4] rehook, fprobe: do not trace rethook related functions

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2023-05-16 14:21:06
Also in: bpf, linux-riscv, linux-s390, lkml

On Tue, 16 May 2023 15:18:30 +0800
Ze Gao [off-list ref] wrote:
quoted hunk ↗ jump to hunk
 CFLAGS_REMOVE_early.o		= $(CC_FLAGS_FTRACE)
+CFLAGS_REMOVE_rethook.o		= $(CC_FLAGS_FTRACE)
 
 endif
 
diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile
index dd61752f4c96..4070a01c11b7 100644
--- a/arch/x86/kernel/Makefile
+++ b/arch/x86/kernel/Makefile
@@ -17,6 +17,7 @@ CFLAGS_REMOVE_ftrace.o = -pg
 CFLAGS_REMOVE_early_printk.o = -pg
 CFLAGS_REMOVE_head64.o = -pg
 CFLAGS_REMOVE_sev.o = -pg
+CFLAGS_REMOVE_rethook.o = -pg
Unrelated to this patch, but someday we need to change the -pg above to
$(CC_FLAGS_FTRACE).

-- Steve

 endif
 
 KASAN_SANITIZE_head$(BITS).o				:= n
-- 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help