|
|
@@ -1600,7 +1600,7 @@ static void aux_sdb_init(unsigned long sdb)
|
|
|
|
|
|
/*
|
|
|
* aux_buffer_setup() - Setup AUX buffer for diagnostic mode sampling
|
|
|
- * @cpu: On which to allocate, -1 means current
|
|
|
+ * @event: Event the buffer is setup for, event->cpu == -1 means current
|
|
|
* @pages: Array of pointers to buffer pages passed from perf core
|
|
|
* @nr_pages: Total pages
|
|
|
* @snapshot: Flag for snapshot mode
|
|
|
@@ -1612,8 +1612,8 @@ static void aux_sdb_init(unsigned long sdb)
|
|
|
*
|
|
|
* Return the private AUX buffer structure if success or NULL if fails.
|
|
|
*/
|
|
|
-static void *aux_buffer_setup(int cpu, void **pages, int nr_pages,
|
|
|
- bool snapshot)
|
|
|
+static void *aux_buffer_setup(struct perf_event *event, void **pages,
|
|
|
+ int nr_pages, bool snapshot)
|
|
|
{
|
|
|
struct sf_buffer *sfb;
|
|
|
struct aux_buffer *aux;
|