Skip to content

Commit 1cbe814

Browse files
image-dragonanakryiko
authored andcommitted
bpf: kprobe: Remove unused declaring of bpf_kprobe_override
After the commit 66665ad ("tracing/kprobe: bpf: Compare instruction pointer with original one"), "bpf_kprobe_override" is not used anywhere anymore, and we can remove it now. Fixes: 66665ad ("tracing/kprobe: bpf: Compare instruction pointer with original one") Signed-off-by: Menglong Dong <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent 21c5f4f commit 1cbe814

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/linux/trace_events.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,6 @@ do { \
880880
struct perf_event;
881881

882882
DECLARE_PER_CPU(struct pt_regs, perf_trace_regs);
883-
DECLARE_PER_CPU(int, bpf_kprobe_override);
884883

885884
extern int perf_trace_init(struct perf_event *event);
886885
extern void perf_trace_destroy(struct perf_event *event);

0 commit comments

Comments
 (0)