On 2014.10.20 at 14:21 -0700, Dehao Chen wrote: > >> +If @var{path} is specified, GCC looks at the @var{path} to find > >> +the profile feedback data files. > >> + > >> +In order to collect AutoFDO profile, you need to have: > >> + > >> +1. A linux system with linux perf support > >> +2. An Intel processor with last branch record (LBR) support > > > > Is it really a requirement or will it only make profiles more accurate? > > It's optional, updated the doc.
Can you give an example on how this is supposed to work on non Intel CPUs? It is not obvious to me. -- Markus