Re: Question about config UPROBES and UPROBE_EVENTS
From: Steven Rostedt
Date: Tue Oct 01 2024 - 08:32:11 EST
On Mon, 30 Sep 2024 11:32:31 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> > uprobe_register/unregister APIs are exposed to the kernel modules,
> > since systemtap had been introduced this feature.
> >
>
> OK, but since they have always been visible, I would just make
> CONFIG_UPROBES a normal option and CONFIG_UPROBE_EVENTS select it if it
> gets selected, and not depend on it.
Thinking about this more, since systemtap is out of tree, and if that's the
only user of uprobes, I don't think it should be exposed as a prompt.
If you want uprobes for systemtap, you must also have uprobe events.
-- Steve