[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240730053733.885785-1-dongml2@chinatelecom.cn>
Date: Tue, 30 Jul 2024 13:37:33 +0800
From: Menglong Dong <menglong8.dong@...il.com>
To: mhiramat@...nel.org
Cc: rostedt@...dmis.org,
mathieu.desnoyers@...icios.com,
linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org,
bpf@...r.kernel.org,
Menglong Dong <dongml2@...natelecom.cn>
Subject: [PATCH bpf-next v2] bpf: kprobe: remove unused declaring of bpf_kprobe_override
After the commit 66665ad2f102 ("tracing/kprobe: bpf: Compare instruction
pointer with original one"), "bpf_kprobe_override" is not used anywhere
anymore, and we can remove it now.
Fixes: 66665ad2f102 ("tracing/kprobe: bpf: Compare instruction pointer with original one")
Signed-off-by: Menglong Dong <dongml2@...natelecom.cn>
---
v2: add the Fixes tag
---
include/linux/trace_events.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/trace_events.h b/include/linux/trace_events.h
index 9df3e2973626..9435185c10ef 100644
--- a/include/linux/trace_events.h
+++ b/include/linux/trace_events.h
@@ -880,7 +880,6 @@ do { \
struct perf_event;
DECLARE_PER_CPU(struct pt_regs, perf_trace_regs);
-DECLARE_PER_CPU(int, bpf_kprobe_override);
extern int perf_trace_init(struct perf_event *event);
extern void perf_trace_destroy(struct perf_event *event);
--
2.39.2
Powered by blists - more mailing lists