projects
/
linux
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21c5f4f
)
bpf: kprobe: Remove unused declaring of bpf_kprobe_override
author
Menglong Dong
<menglong8.dong@gmail.com>
Tue, 30 Jul 2024 05:37:33 +0000
(13:37 +0800)
committer
Andrii Nakryiko
<andrii@kernel.org>
Tue, 30 Jul 2024 20:47:39 +0000
(13:47 -0700)
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@chinatelecom.cn>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link:
https://lore.kernel.org/bpf/20240730053733.885785-1-dongml2@chinatelecom.cn
include/linux/trace_events.h
patch
|
blob
|
history
diff --git
a/include/linux/trace_events.h
b/include/linux/trace_events.h
index 9df3e2973626bcb4f16fd5cccb3908c31e4d7b56..9435185c10ef72305078713e2ddaa57329064b3b 100644
(file)
--- 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);