Re: [PATCH v2 1/6] Add AutoFDO support for Clang build
From: Nick Desaulniers
Date: Thu Oct 03 2024 - 11:52:31 EST
On Thu, Oct 3, 2024 at 8:42 AM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> On Wed, Oct 02, 2024 at 04:34:00PM -0700, Rong Xu wrote:
> > +6) Rebuild the kernel using the AutoFDO profile file with the same config as step 1,
> > + (Note CONFIG_AUTOFDO_CLANG needs to be enabled):
> > +
> > + .. code-block:: sh
> > +
> > + $ make LLVM=1 CLANG_AUTOFDO_PROFILE=<profile_file
> > +
>
>
> Can this be done without the endless ... code-block nonsense?
Dunno, I think it looks pretty nice once rendered. Makes it
straightforward for a user to copy+paste. I asked Rong explicitly to
make sure the documentation made it so that non-googler or folks not
working on autofdo or propellor could reproduce (since we'll probably
end up standing up CI for these newer configs, and BOLT).
--
Thanks,
~Nick Desaulniers