Re: BUG: perf error on syscalls for powerpc64.

2015-07-21 Thread czm
在 2015年07月21日 14:40, Michael Ellerman 写道: On Fri, 2015-07-17 at 13:28 +0800, Zumeng Chen wrote: On 2015年07月17日 12:07, Michael Ellerman wrote: On Fri, 2015-07-17 at 09:27 +0800, Zumeng Chen wrote: On 2015年07月16日 17:04, Michael Ellerman wrote: On Thu, 2015-07-16 at 13:57 +0800, Zumeng Chen wrot

Re: BUG: perf error on syscalls for powerpc64.

2015-07-20 Thread Michael Ellerman
On Fri, 2015-07-17 at 13:28 +0800, Zumeng Chen wrote: > On 2015年07月17日 12:07, Michael Ellerman wrote: > > On Fri, 2015-07-17 at 09:27 +0800, Zumeng Chen wrote: > >> On 2015年07月16日 17:04, Michael Ellerman wrote: > >>> On Thu, 2015-07-16 at 13:57 +0800, Zumeng Chen wrote: > Hi All, > >

Re: BUG: perf error on syscalls for powerpc64.

2015-07-17 Thread Zumeng Chen
On 2015年07月17日 09:59, Ian Munsie wrote: Excerpts from Sukadev Bhattiprolu's message of 2015-07-17 11:51:04 +1000: Are you seeing this on big-endian or little-endian system? IIRC, I saw the opposite behavior on an LE system a few months ago. i.e. without 1028ccf5, 'perf listf|grep syscall' faile

Re: BUG: perf error on syscalls for powerpc64.

2015-07-16 Thread Zumeng Chen
On 2015年07月17日 09:51, Sukadev Bhattiprolu wrote: Zumeng Chen [zumeng.c...@gmail.com] wrote: | 3. What I have seen in 3.14.x kernel, | == | And so far, no more difference to 4.x kernel from me about this part if | I'm right. | | *) With 1028ccf5 | | perf list|grep -i syscall go

Re: BUG: perf error on syscalls for powerpc64.

2015-07-16 Thread Zumeng Chen
On 2015年07月17日 12:07, Michael Ellerman wrote: On Fri, 2015-07-17 at 09:27 +0800, Zumeng Chen wrote: On 2015年07月16日 17:04, Michael Ellerman wrote: On Thu, 2015-07-16 at 13:57 +0800, Zumeng Chen wrote: Hi All, 1028ccf5 did a change for sys_call_table from a pointer to an array of unsigned long,

Re: BUG: perf error on syscalls for powerpc64.

2015-07-16 Thread Michael Ellerman
On Fri, 2015-07-17 at 09:27 +0800, Zumeng Chen wrote: > On 2015年07月16日 17:04, Michael Ellerman wrote: > > On Thu, 2015-07-16 at 13:57 +0800, Zumeng Chen wrote: > >> Hi All, > >> > >> 1028ccf5 did a change for sys_call_table from a pointer to an array of > >> unsigned long, I think it's not proper,

Re: BUG: perf error on syscalls for powerpc64.

2015-07-16 Thread Ian Munsie
Excerpts from Sukadev Bhattiprolu's message of 2015-07-17 11:51:04 +1000: > Are you seeing this on big-endian or little-endian system? > > IIRC, I saw the opposite behavior on an LE system a few months ago. > i.e. without 1028ccf5, 'perf listf|grep syscall' failed. > > Applying 1028ccf5, seemed t

Re: BUG: perf error on syscalls for powerpc64.

2015-07-16 Thread Sukadev Bhattiprolu
Zumeng Chen [zumeng.c...@gmail.com] wrote: | 3. What I have seen in 3.14.x kernel, | == | And so far, no more difference to 4.x kernel from me about this part if | I'm right. | | *) With 1028ccf5 | | perf list|grep -i syscall got me nothing. | | | *) Without 1028ccf5 | root@

Re: BUG: perf error on syscalls for powerpc64.

2015-07-16 Thread Zumeng Chen
On 2015年07月16日 17:04, Michael Ellerman wrote: > On Thu, 2015-07-16 at 13:57 +0800, Zumeng Chen wrote: >> Hi All, >> >> 1028ccf5 did a change for sys_call_table from a pointer to an array of >> unsigned long, I think it's not proper, here is my reason: >> >> sys_call_table defined as a label in asse

Re: BUG: perf error on syscalls for powerpc64.

2015-07-16 Thread Michael Ellerman
On Thu, 2015-07-16 at 13:57 +0800, Zumeng Chen wrote: > Hi All, > > 1028ccf5 did a change for sys_call_table from a pointer to an array of > unsigned long, I think it's not proper, here is my reason: > > sys_call_table defined as a label in assembler should be pointer array > rather than an array

BUG: perf error on syscalls for powerpc64.

2015-07-15 Thread Zumeng Chen
Hi All, 1028ccf5 did a change for sys_call_table from a pointer to an array of unsigned long, I think it's not proper, here is my reason: sys_call_table defined as a label in assembler should be pointer array rather than an array as described in 1028ccf5. If we defined it as an array, then arch_s