Re: [PATCH 1/4] Add gcc-auto-profile script

2016-04-27 Thread Andi Kleen
On Wed, Apr 27, 2016 at 05:42:48PM +0200, Bernd Schmidt wrote: > On 03/28/2016 06:44 AM, Andi Kleen wrote: > >This patch adds a new gcc-auto-profile script that figures out the > >correct event and runs perf. The script is installed with on Linux systems. > > That sounds useful, and I think we'll

Re: [PATCH 1/4] Add gcc-auto-profile script

2016-04-27 Thread Bernd Schmidt
On 03/28/2016 06:44 AM, Andi Kleen wrote: This patch adds a new gcc-auto-profile script that figures out the correct event and runs perf. The script is installed with on Linux systems. That sounds useful, and I think we'll want to accept this. So Linux just hardcodes installing the script, bu

Re: [PING^3] Re: [PATCH 1/4] Add gcc-auto-profile script

2016-04-27 Thread Andi Kleen
Andi Kleen writes: Ping^3 for the patch series! > Andi Kleen writes: > > Ping^2 for the patch series! > >> Andi Kleen writes: >> >> Ping for the patch series! >> >>> From: Andi Kleen >>> >>> Using autofdo is currently something difficult. It requires using the >>> model specific branches take

[PING^2] Re: [PATCH 1/4] Add gcc-auto-profile script

2016-04-23 Thread Andi Kleen
Andi Kleen writes: Ping^2 for the patch series! > Andi Kleen writes: > > Ping for the patch series! > >> 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

Re: [PATCH 1/4] Add gcc-auto-profile script

2016-04-16 Thread Andi Kleen
Andi Kleen writes: Ping for the patch series! > 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

Re: [PATCH 1/4] Add gcc-auto-profile script

2016-03-30 Thread Andi Kleen
On Wed, Mar 30, 2016 at 06:05:00PM +, Joseph Myers wrote: > On Sun, 27 Mar 2016, Andi Kleen wrote: > > > 2016-03-27 Andi Kleen > > > > * gen_autofdo_event.py: New file to regenerate > > gcc-auto-profile. > > It may not be required in contrib, but does this script work with both >

Re: [PATCH 1/4] Add gcc-auto-profile script

2016-03-30 Thread Joseph Myers
On Sun, 27 Mar 2016, Andi Kleen wrote: > 2016-03-27 Andi Kleen > > * gen_autofdo_event.py: New file to regenerate > gcc-auto-profile. It may not be required in contrib, but does this script work with both Python 2 and Python 3? (New code that only works with Python 2 seems like