Re: [PATCH V1 resend] dcookies: Make dcookies depend on CONFIG_OPROFILE

From: Linus Torvalds
Date: Mon Jan 11 2021 - 14:29:26 EST


On Sun, Jan 10, 2021 at 10:02 PM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
>
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> The dcookies stuff is used only with OPROFILE and there is no need to
> build it if CONFIG_OPROFILE isn't enabled. Build it depending on
> CONFIG_OPROFILE instead of CONFIG_PROFILING.

Umm. I think we should remove CONFIG_OPROFILE entirely, and then
dcookies as part of it.

We discussed removing CONFIG_OPROFILE for 5.9 (I htink) already - the
oprofile user land tools don't use the kernel OPROFILE support any
more, and haven't in a long time. User land has been converted to the
perf interfaces.

Linus