summaryrefslogtreecommitdiff
path: root/include/linux/perf_event.h
diff options
context:
space:
mode:
authorMathieu Poirier <mathieu.poirier@linaro.org>2016-04-28 16:26:25 -0600
committerMathieu Poirier <mathieu.poirier@linaro.org>2016-06-20 11:09:46 -0600
commite5fd3d6e84b268edb1a3f66e4d974611e3908c00 (patch)
treebebc7ad6434b9c3c77d3084011f075870619073f /include/linux/perf_event.h
parent1efb79086e3298b07f8734aae7614aa25ef82040 (diff)
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>
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r--include/linux/perf_event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 6e02e62fa1d9..ece8b9629a47 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -378,7 +378,7 @@ struct pmu {
/*
* Set up pmu-private data structures for an AUX area
*/
- void *(*setup_aux) (int cpu, void **pages,
+ void *(*setup_aux) (struct perf_event *event, void **pages,
int nr_pages, bool overwrite);
/* optional */