Re: [PATCH] tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing

From: Steven Rostedt
Date: Wed Jul 07 2021 - 20:06:06 EST


On Wed, 7 Jul 2021 16:49:26 -0700
Andrii Nakryiko <andrii.nakryiko@xxxxxxxxx> wrote:

> As for why the user might need that, it's up to the user and I don't
> want to speculate because it will always sound contrived without a
> specific production use case. But people are very creative and we try
> not to dictate how and what can be done if it doesn't break any
> fundamental assumption and safety.

I guess it doesn't matter, because if they try to do it, the second
attachment will simply fail to attach.

-- Steve