Re: plumbers session on profiling?

From: Peter Zijlstra
Date: Mon Jul 04 2022 - 10:03:25 EST


On Fri, Jul 01, 2022 at 12:34:09PM -0700, Fangrui Song wrote:

> Instrumentation based PGO has the nice property that it works with all
> architectures (the compiler supports) and does not rely on hardware
> support. In addition, it collects indirect call targets and string
> operation sizes which are very difficult/impossible for sample based
> PGO.

LBR samples should provide the indirect call targets just fine.