Re: BUG: perf error on syscalls for powerpc64.

Zumeng Chen
2015-07-17T05:33:58Z

On 2015年07月17日 09:51, Sukadev Bhattiprolu wrote:
> Zumeng Chen [zumeng.chen@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@localhost:~# perf list|grep -i syscall
> | syscalls:sys_enter_socket [Tracepoint event]
> | syscalls:sys_exit_socket [Tracepoint event]
> | syscalls:sys_enter_socketpair [Tracepoint event]
> | syscalls:sys_exit_socketpair [Tracepoint event]
> | syscalls:sys_enter_bind [Tracepoint event]
> | syscalls:sys_exit_bind [Tracepoint event]
> | syscalls:sys_enter_listen [Tracepoint event]
> | syscalls:sys_exit_listen [Tracepoint event]
> | ... ...
>
> Are you seeing this on big-endian or little-endian system?

Big one.

>
> IIRC, I saw the opposite behavior on an LE system a few months ago.
> i.e. without 1028ccf5, 'perf listf|grep syscall' failed.

I wonder if this has anything to do with the bug.

Cheers,
Zumeng

>
> Applying 1028ccf5, seemed to fix it.
>
> Sukadev
>