Re: Question about config UPROBES and UPROBE_EVENTS

From: Steven Rostedt
Date: Mon Sep 30 2024 - 10:05:55 EST


On Mon, 30 Sep 2024 09:33:42 +0800
Tiezhu Yang <yangtiezhu@xxxxxxxxxxx> wrote:

> > the CONFIG_UPROBES is disabled by default and make CONFIG_UPROBE_EVENTS
> > depending on it, the uprobe_events menu is hidden. I don't like this.
>
> This is somehow like the current status of CONFIG_KPROBES and
> CONFIG_KPROBE_EVENTS.

The question is, can uprobes be used without uprobe_events? With the
current BPF work that I haven't been following, it may be possible now.

If uprobes can be used without uprobe events, like kprobes can be used
without kprobe events, then I can see having uprobes as a separate config
menu option. If not, then no, it shouldn't be.

-- Steve