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

From: William Cohen
Date: Wed Oct 28 2020 - 22:07:50 EST


On 10/27/20 12:54 PM, Linus Torvalds wrote:
> On Tue, Oct 27, 2020 at 1:52 AM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>>
>> Is it time to deprecate and eventually remove oprofile while we're at
>> it?
>
> I think it's well past time.
>
> I think the user-space "oprofile" program doesn't actually use the
> legacy kernel code any more, and hasn't for a long time.
>
> But I might be wrong. Adding William Cohen to the cc, since he seems
> to still maintain it to make sure it builds etc.
>
> Linus
>

Hi,

Yes, current OProfile code uses the existing linux perf infrastructure and doesn't use the old oprofile kernel code. I have thought about removing that old oprofile driver code from kernel, but have not submitted patches for it. I would be fine with eliminating that code from the kernel.

-Will