Re: [PATCH V3 2/6] perf: Passing struct perf_event to function setup_aux()

2016-08-08 Thread Mathieu Poirier
On 8 August 2016 at 04:49, Alexander Shishkin wrote: > Peter Zijlstra writes: > >> On Thu, Jul 28, 2016 at 03:42:19PM -0600, Mathieu Poirier wrote: >>> Some information, like driver specific configuration, is found >>> in the hw_perf_event structure. As such pass a 'struct perf_event' >>> to fu

Re: [PATCH V3 2/6] perf: Passing struct perf_event to function setup_aux()

2016-08-08 Thread Alexander Shishkin
Peter Zijlstra writes: > On Thu, Jul 28, 2016 at 03:42:19PM -0600, Mathieu Poirier wrote: >> Some information, like driver specific configuration, is found >> in the hw_perf_event structure. As such pass a 'struct perf_event' >> to function setup_aux() rather than just the CPU number so that >>

Re: [PATCH V3 2/6] perf: Passing struct perf_event to function setup_aux()

2016-08-04 Thread Peter Zijlstra
On Thu, Jul 28, 2016 at 03:42:19PM -0600, Mathieu Poirier wrote: > Some information, like driver specific configuration, is found > in the hw_perf_event structure. As such pass a 'struct perf_event' > to function setup_aux() rather than just the CPU number so that > individual drivers can make th

[PATCH V3 2/6] perf: Passing struct perf_event to function setup_aux()

2016-07-28 Thread Mathieu Poirier
Some information, like driver specific configuration, is found in the hw_perf_event structure. As such pass a 'struct perf_event' to function setup_aux() rather than just the CPU number so that individual drivers can make the right configuration when setting up a session. Signed-off-by: Mathieu