Re: [PATCH 2/2] perf script: handle the num array type in python properly

2014-05-30 Thread Sebastian Andrzej Siewior
On 05/29/2014 06:43 AM, Namhyung Kim wrote: > But this requires a change in generation time as I faced a type error > when try to print an array argument as number. I'll post a separate > patch for this. Thank you. > > Thanks, > Namhyung > Sebastian -- To unsubscribe from this list: send the l

Re: [PATCH 2/2] perf script: handle the num array type in python properly

2014-05-28 Thread Namhyung Kim
On Tue, 27 May 2014 18:14:34 +0200, Sebastian Andrzej Siewior wrote: > The raw_syscalls:sys_enter tracer for instance passes has one argument > named 'arg' which is an array of 6 integers. Right the python scripts > gets only 0 passed as an argument. The reason is that > pevent_read_number() can no

[PATCH 2/2] perf script: handle the num array type in python properly

2014-05-27 Thread Sebastian Andrzej Siewior
The raw_syscalls:sys_enter tracer for instance passes has one argument named 'arg' which is an array of 6 integers. Right the python scripts gets only 0 passed as an argument. The reason is that pevent_read_number() can not handle data types of 48 and returns always 0. This patch changes this by pa