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

Alexander Shishkin alexander.shishkin at linux.intel.com
Mon Aug 8 03:49:40 PDT 2016


Peter Zijlstra <peterz at infradead.org> 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
>> individual drivers can make the right configuration when setting
>> up a session.
>> 
>> Signed-off-by: Mathieu Poirier <mathieu.poirier at linaro.org>
>> Cc: Alexander Shishkin <alexander.shishkin at linux.intel.com>
>
> Yeah, no objection to this.

Sure, but I'd like a commit message that actually describes *what*
information and *why*.

Regards,
--
Alex



More information about the linux-arm-kernel mailing list