Re: [PATCH] powerpc/pseries: hcall_exit tracepoint retval should be signed

2018-05-09 Thread Ravi Bangoria
On 05/07/2018 06:33 PM, Michael Ellerman wrote: > The hcall_exit() tracepoint has retval defined as unsigned long. That > leads to humours results like: > > bash-3686 [009] d..2 854.134094: hcall_entry: opcode=24 > bash-3686 [009] d..2 854.134095: hcall_exit: opcode=24 >

Re: [PATCH] powerpc/pseries: hcall_exit tracepoint retval should be signed

2018-05-08 Thread Anton Blanchard
Hi Michael, > The hcall_exit() tracepoint has retval defined as unsigned long. That > leads to humours results like: > > bash-3686 [009] d..2 854.134094: hcall_entry: opcode=24 > bash-3686 [009] d..2 854.134095: hcall_exit: opcode=24 > retval=18446744073709551609 > > It's normal for

[PATCH] powerpc/pseries: hcall_exit tracepoint retval should be signed

2018-05-07 Thread Michael Ellerman
The hcall_exit() tracepoint has retval defined as unsigned long. That leads to humours results like: bash-3686 [009] d..2 854.134094: hcall_entry: opcode=24 bash-3686 [009] d..2 854.134095: hcall_exit: opcode=24 retval=18446744073709551609 It's normal for some hcalls to return