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, Oc

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 wrote

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

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, ref

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

2014-10-07 Thread zhangzhiqiang
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 sleep 1 Performance counter stats for 'sleep 1': 0 ref-cycles

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

2014-10-07 Thread zhangzhiqiang
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 sleep 1 Performance counter stats for 'sleep 1': 0 ref-cycles

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

2014-09-26 Thread zhangzhiqiang
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. this patch fix the bug and make it return NOT SUPPORTED distinctly. In upstream this bug has been fixed by other

[request for stable inclusion] perf kmem: Make it work again on non NUMA machines

2014-09-26 Thread zhangzhiqiang
hi all, Now on non NUMA machines with 3.10 stable,perf kmem command does not work well. For instance, when exec perf kmem record sleep 2, we can get the perf.data file correctly. but when we exec perf kmem stat there is nothing return. In upstream the bug has been fixed and perf kmem work well

[request for stable inclusion] perf kmem: Make it work again on non NUMA machines

2014-09-26 Thread zhangzhiqiang
hi all, Now on non NUMA machines with 3.10 stable,perf kmem command does not work well. For instance, when exec perf kmem record sleep 2, we can get the perf.data file correctly. but when we exec perf kmem stat there is nothing return. In upstream the bug has been fixed and perf kmem work well

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

2014-09-26 Thread zhangzhiqiang
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. this patch fix the bug and make it return NOT SUPPORTED distinctly. In upstream this bug has been fixed by other