On Mon, May 30, 2016 at 02:39:06AM +0200, Jan Hubicka wrote:
> >
> > Since maintaining the script would be somewhat tedious (needs changes
> > every time a new CPU comes out) I auto generated it from the online
> > Intel event database. The script to do that is in contrib and can be
> > rerun.
>
Andi,
thanks a lot for working on the auto-fdo bootstrap. It is badly needed to
have some coverage for this feature. I don't think I can approve the
build machinery changes.
> From: Andi Kleen
>
> Using autofdo is currently something difficult. It requires using the
> model specific branches ta
On May 21, 2016 6:36:22 PM GMT+02:00, Andi Kleen wrote:
>From: Andi Kleen
>+if [ "$1" = "--kernel" ] ; then
>+ FLAGS=k
>+ shift
>+fi
>+if [ "$1" == "--all" ] ; then
== is legacy, s/==/=/
>+ FLAGS=uk
>+ shift
>+fi
>+
>+if ! grep -q Intel /proc/cpuinfo ] ; then
>+ echo >&2 "Only Intel CPUs
From: Andi Kleen
Using autofdo is currently something difficult. It requires using the
model specific branches taken event, which differs on different CPUs.
The example shown in the manual requires a special patched version of
perf that is non standard, and also will likely not work everywhere.