Jan Hubicka <hubi...@ucw.cz> writes: > > Now for longer term, we want to make function CFGs independent of gimple body > and we want to decide on instrumentation at linktime, so we won't require user > to rebuild with -fprofile-use, just relink. I plan to work on this, but > not for 4.9.
It may be already obsolete with AutoFDO? Longer term I hope more and more of the explicit instrumentation functionality can be implemented using the hardware PMU. For example (auto fdo doesn't do this today) it would be quite possible to do x86 value profiling without explicit instrumentation too by looking at the PEBS records, and likely similar functionality elsewhere. -Andi -- a...@linux.intel.com -- Speaking for myself only