Re: [PATCH v2] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-12 Thread Fāng-ruì Sòng
On Tue, Jan 12, 2021 at 9:37 AM 'Nick Desaulniers' via Clang Built Linux wrote: > > On Mon, Jan 11, 2021 at 9:14 PM Bill Wendling wrote: > > > > From: Sami Tolvanen > > > > Enable the use of clang's Profile-Guided Optimization[1]. To generate a > > profile, the kernel is instrumented with PGO

Re: [PATCH v2] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-12 Thread Nick Desaulniers
On Mon, Jan 11, 2021 at 9:14 PM Bill Wendling wrote: > > From: Sami Tolvanen > > Enable the use of clang's Profile-Guided Optimization[1]. To generate a > profile, the kernel is instrumented with PGO counters, a representative > workload is run, and the raw profile data is collected from >

Re: [PATCH v2] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-11 Thread Sedat Dilek
On Tue, Jan 12, 2021 at 6:14 AM 'Bill Wendling' via Clang Built Linux wrote: > > From: Sami Tolvanen > > Enable the use of clang's Profile-Guided Optimization[1]. To generate a > profile, the kernel is instrumented with PGO counters, a representative > workload is run, and the raw profile data

[PATCH v2] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-11 Thread Bill Wendling
From: Sami Tolvanen Enable the use of clang's Profile-Guided Optimization[1]. To generate a profile, the kernel is instrumented with PGO counters, a representative workload is run, and the raw profile data is collected from /sys/kernel/debug/pgo/profraw. The raw profile data must be processed