Re: [PATCH v7 7/7] Add Propeller configuration for kernel build

2024-12-12 Thread Rong Xu
We will take a look at this issue and get back to you. Thanks for reporting this. Best Regards, -Rong On Thu, Dec 12, 2024 at 1:34 PM Nathan Chancellor wrote: > > On Thu, Dec 12, 2024 at 01:20:46PM -0800, Yonghong Song wrote: > ... > > > +5) Use the create_llvm_prof tool (https://github.com/goo

Re: [PATCH v7 7/7] Add Propeller configuration for kernel build

2024-12-12 Thread Nathan Chancellor
On Thu, Dec 12, 2024 at 01:20:46PM -0800, Yonghong Song wrote: ... > > +5) Use the create_llvm_prof tool (https://github.com/google/autofdo) to > > + generate Propeller profile. :: > > + > > + $ create_llvm_prof --binary= --profile= > > + --format=propeller --propelle

Re: [PATCH v7 7/7] Add Propeller configuration for kernel build

2024-12-12 Thread Yonghong Song
On 11/2/24 10:51 AM, Rong Xu wrote: Add the build support for using Clang's Propeller optimizer. Like AutoFDO, Propeller uses hardware sampling to gather information about the frequency of execution of different code paths within a binary. This information is then used to guide the compiler's

Re: [PATCH v7 7/7] Add Propeller configuration for kernel build

2024-11-07 Thread Rong Xu
Thanks Nathan for finding this out! We changed the propeller option with this patch: https://github.com/llvm/llvm-project/pull/110039 Currently, this patch is only in the ToT clang (v20) and not yet released in v19. I'll add a compiler version check to the patch: if the clang version >= 20, use t

Re: [PATCH v7 7/7] Add Propeller configuration for kernel build

2024-11-07 Thread Nathan Chancellor
Hi Rong, On Sat, Nov 02, 2024 at 10:51:14AM -0700, Rong Xu wrote: > diff --git a/scripts/Makefile.propeller b/scripts/Makefile.propeller > new file mode 100644 > index 0..344190717e471 > --- /dev/null > +++ b/scripts/Makefile.propeller > @@ -0,0 +1,28 @@ > +# SPDX-License-Identifier: G