linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next v2] bpf: kprobe: remove unused declaring of bpf_kprobe_override
@ 2024-07-30  5:37 Menglong Dong
  2024-07-30 20:50 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Menglong Dong @ 2024-07-30  5:37 UTC (permalink / raw)
  To: mhiramat
  Cc: rostedt, mathieu.desnoyers, linux-kernel, linux-trace-kernel, bpf,
	Menglong Dong

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>
---
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH bpf-next v2] bpf: kprobe: remove unused declaring of bpf_kprobe_override
  2024-07-30  5:37 [PATCH bpf-next v2] bpf: kprobe: remove unused declaring of bpf_kprobe_override Menglong Dong
@ 2024-07-30 20:50 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-07-30 20:50 UTC (permalink / raw)
  To: Menglong Dong
  Cc: mhiramat, rostedt, mathieu.desnoyers, linux-kernel,
	linux-trace-kernel, bpf, dongml2

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Tue, 30 Jul 2024 13:37:33 +0800 you wrote:
> 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>
> 
> [...]

Here is the summary with links:
  - [bpf-next,v2] bpf: kprobe: remove unused declaring of bpf_kprobe_override
    https://git.kernel.org/bpf/bpf-next/c/1cbe8143fd2f

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-30 20:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-30  5:37 [PATCH bpf-next v2] bpf: kprobe: remove unused declaring of bpf_kprobe_override Menglong Dong
2024-07-30 20:50 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).