Re: [PATCH] tracepoint: Allow livepatch module add trace event

From: Steven Rostedt
Date: Mon Nov 14 2022 - 12:23:34 EST


On Wed, 2 Nov 2022 16:02:36 +0000
Jianlin Lv <iecedge@xxxxxxxxx> wrote:

> In the case of keeping the system running, the preferred method for
> tracing the kernel is dynamic tracing (kprobe), but the drawback of
> this method is that events are lost, especially when tracing packages
> in the network stack.

I'm not against this change, but the above is where I'm a bit confused. How
are events more likely to be lost with kprobes over a static event?

-- Steve