perf: passing struct perf_event to function setup_aux()
authorMathieu Poirier <mathieu.poirier@linaro.org>
Thu, 28 Apr 2016 22:26:25 +0000 (16:26 -0600)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 20 Jun 2016 17:09:46 +0000 (11:09 -0600)
commite5fd3d6e84b268edb1a3f66e4d974611e3908c00
treebebc7ad6434b9c3c77d3084011f075870619073f
parent1efb79086e3298b07f8734aae7614aa25ef82040
perf: passing struct perf_event to function setup_aux()

Some information, like driver specific configuration, is found
in the 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@linaro.org>
drivers/hwtracing/coresight/coresight-etm-perf.c
include/linux/perf_event.h
kernel/events/ring_buffer.c