On 06/22/2016 06:37 AM, Andi Kleen wrote:
From: Andi Kleen <a...@linux.intel.com>
Add support for profiledbootstrap with autofdo. Will be useful
to get better testing coverage of autofdo.
This requires Linux perf and autofdo to be installed, only
really for x86_64 linux on Intel so far.
I really think we ought to check that and give a sensible error if
autoprofiledbootstrap is requested.
What happens in a one-tree build for in the gas, gdb, binutils
subdirectories? Does anything special need to be done for those to make
sure they build correctly (even if they aren't taking advantage of
profiling data)?
I think with a reasonable error if perf isn't available and a sense that
we're not going to horribly break one-tree-builds this should be ready
to install.
jeff