On Tue, 1 Oct 2024 08:30:42 -0400 Steven Rostedt <[email protected]> wrote:
> On Tue, 1 Oct 2024 14:30:33 +0800 > Tiezhu Yang <[email protected]> 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
