Re: [PATCH] arm: armv7: perf: fix armv7 ref-cycles error

2014-10-09 Thread gre...@linuxfoundation.org
On Thu, Oct 09, 2014 at 03:13:00PM +0800, zhangzhiqiang wrote: > On 2014/10/9 11:41, gre...@linuxfoundation.org wrote: > > On Thu, Oct 09, 2014 at 11:07:04AM +0800, zhangzhiqiang wrote: > >> On 2014/10/8 21:38, Will Deacon wrote: > >>> On Wed, Oct 08, 2014 at 02:31:47PM +0100, gre...@linuxfoundatio

Re: [PATCH] arm: armv7: perf: fix armv7 ref-cycles error

2014-10-09 Thread zhangzhiqiang
On 2014/10/9 11:41, gre...@linuxfoundation.org wrote: > On Thu, Oct 09, 2014 at 11:07:04AM +0800, zhangzhiqiang wrote: >> On 2014/10/8 21:38, Will Deacon wrote: >>> On Wed, Oct 08, 2014 at 02:31:47PM +0100, gre...@linuxfoundation.org wrote: On Wed, Oct 08, 2014 at 10:17:41AM +0100, Will Deacon

Re: [PATCH] arm: armv7: perf: fix armv7 ref-cycles error

2014-10-08 Thread gre...@linuxfoundation.org
On Thu, Oct 09, 2014 at 11:07:04AM +0800, zhangzhiqiang wrote: > On 2014/10/8 21:38, Will Deacon wrote: > > On Wed, Oct 08, 2014 at 02:31:47PM +0100, gre...@linuxfoundation.org wrote: > >> On Wed, Oct 08, 2014 at 10:17:41AM +0100, Will Deacon wrote: > >>> On Wed, Oct 08, 2014 at 04:06:12AM +0100, z

Re: [PATCH] arm: armv7: perf: fix armv7 ref-cycles error

2014-10-08 Thread zhangzhiqiang
On 2014/10/8 21:38, Will Deacon wrote: > On Wed, Oct 08, 2014 at 02:31:47PM +0100, gre...@linuxfoundation.org wrote: >> On Wed, Oct 08, 2014 at 10:17:41AM +0100, Will Deacon wrote: >>> On Wed, Oct 08, 2014 at 04:06:12AM +0100, zhangzhiqiang wrote: hi all, -

Re: [PATCH] arm: armv7: perf: fix armv7 ref-cycles error

2014-10-08 Thread Will Deacon
On Wed, Oct 08, 2014 at 02:31:47PM +0100, gre...@linuxfoundation.org wrote: > On Wed, Oct 08, 2014 at 10:17:41AM +0100, Will Deacon wrote: > > On Wed, Oct 08, 2014 at 04:06:12AM +0100, zhangzhiqiang wrote: > > > hi all, > > > > > > > > > ref-cycles event is

Re: [PATCH] arm: armv7: perf: fix armv7 ref-cycles error

2014-10-08 Thread gre...@linuxfoundation.org
On Wed, Oct 08, 2014 at 10:17:41AM +0100, Will Deacon wrote: > On Wed, Oct 08, 2014 at 04:06:12AM +0100, zhangzhiqiang wrote: > > hi all, > > > > > > ref-cycles event is specially to Intel core, but can still used in arm > > architecture > > with the wrong

Re: [PATCH] arm: armv7: perf: fix armv7 ref-cycles error

2014-10-08 Thread Will Deacon
On Wed, Oct 08, 2014 at 04:06:12AM +0100, zhangzhiqiang wrote: > hi all, > > > ref-cycles event is specially to Intel core, but can still used in arm > architecture > with the wrong return value with 3.10 stable. for instance: > > perf stat -e ref-cycles