Re: Question about config UPROBES and UPROBE_EVENTS
From: Steven Rostedt
Date: Tue Oct 01 2024 - 08:33:06 EST
On Tue, 1 Oct 2024 08:30:42 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> On Tue, 1 Oct 2024 14:30:33 +0800
> Tiezhu Yang <yangtiezhu@xxxxxxxxxxx> wrote:
>
> > Then, CONFIG_KPROBE_EVENTS should depend on or select CONFIG_KPROBES?
> > In the current code, CONFIG_KPROBE_EVENTS depend on CONFIG_KPROBES,
> > the CONFIG_KPROBE_EVENTS menu is hidden if CONFIG_KPROBES is not set.
>
> We could just for consistency. KPROBE_EVENTS would then need to depend on
> HAVE_KPROBES as well. It does add some duplication.
>
I take this back. I don't think there's any reason to have a UPROBES prompt.
If you want UPROBES, you should have UPROBE_EVENTS. They are completely
different than kprobes.
-- Steve