Re: [PATCH] pgo: rename the raw profile file to vmlinux.profraw

From: Kees Cook
Date: Tue Jun 01 2021 - 18:55:38 EST


On Wed, Jun 02, 2021 at 12:40:25AM +0300, jarmo.tiitto@xxxxxxxxx wrote:
> Yes, my future intention is that there will be one *.profraw file per module.
> And curiously I would also have renamed the current profile data file to
> "vmlinux.profraw" to disambiguate it from what part of kernel generated it.
>
> I already wrote an small fix up that I think should be part of the upstream
> code so that profiling the vmlinux works better.
> It filters out any module originated content from vmlinux.profraw.
>
> Above will be probably a good exercise for me.
>
> Next, my future v2 module profiling machinery
> would probably follow on top of your work.

Okay, great; thanks for digging into it! :)

--
Kees Cook