Re: Question about config UPROBES and UPROBE_EVENTS

From: Steven Rostedt
Date: Tue Oct 01 2024 - 08:30:00 EST


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.

-- Steve