Re: [RFC PATCH] perf session: fixing uninitialised cpumode

2016-05-16 Thread Mathieu Poirier
On 16 May 2016 at 00:01, Jiri Olsa wrote: > On Fri, May 13, 2016 at 05:36:16PM -0600, Mathieu Poirier wrote: >> The following patch[1] adds a new "cpumode" to the perf_sample >> structure that gets initialised as events are read from the data >> event file. >> >> With the advent of HW tracers and

Re: [RFC PATCH] perf session: fixing uninitialised cpumode

2016-05-15 Thread Jiri Olsa
On Fri, May 13, 2016 at 05:36:16PM -0600, Mathieu Poirier wrote: > The following patch[1] adds a new "cpumode" to the perf_sample > structure that gets initialised as events are read from the data > event file. > > With the advent of HW tracers and more specifically the decoding of > the traces th

[RFC PATCH] perf session: fixing uninitialised cpumode

2016-05-13 Thread Mathieu Poirier
The following patch[1] adds a new "cpumode" to the perf_sample structure that gets initialised as events are read from the data event file. With the advent of HW tracers and more specifically the decoding of the traces they generate, function perf_session__deliver_synth_event() gets called directl