Re: [RFC 0/4] perf script python: Provide perf_sample dict to all handlers

2017-07-18 Thread Arun Kalyanasundaram
Thank you for taking a look into it. I don't see the garbled output. Can you please send me the perf.data file or a way to reproduce it? On Tue, Jul 18, 2017 at 1:35 AM, Jiri Olsa wrote: > On Mon, Jul 17, 2017 at 03:10:36PM -0700, Arun Kalyanasundaram wrote: >> The process_event python hook rece

Re: [RFC 0/4] perf script python: Provide perf_sample dict to all handlers

2017-07-18 Thread Jiri Olsa
On Mon, Jul 17, 2017 at 03:10:36PM -0700, Arun Kalyanasundaram wrote: > The process_event python hook receives a dict with all perf_sample entries. > > Other handlers (e.g. trace_unhandled, python_process_tracepoint) predate the > introduction of this dict and do not receive it. This patch series

[RFC 0/4] perf script python: Provide perf_sample dict to all handlers

2017-07-17 Thread Arun Kalyanasundaram
The process_event python hook receives a dict with all perf_sample entries. Other handlers (e.g. trace_unhandled, python_process_tracepoint) predate the introduction of this dict and do not receive it. This patch series adds the dict to all handlers, aiming to unify the information passed to the