diff options
| author | Alex Shi <alex.shi@linaro.org> | 2016-06-21 11:14:16 +0800 |
|---|---|---|
| committer | Alex Shi <alex.shi@linaro.org> | 2016-06-21 11:14:16 +0800 |
| commit | 46b4dd0c2535cbb70766f74bb9228ed81f59054d (patch) | |
| tree | 7a6b9088c87e3532cef5f570d84e3f6481d88510 /include/linux/perf_event.h | |
| parent | c66b2190a13e321233ac1349d238d699dffefe09 (diff) | |
| parent | 09e1b6ffeb1b6706c441f9369be027e7ad5d56c1 (diff) | |
Merge branch 'v4.4/topic/coresight' into linux-linaro-lsk-v4.4
Diffstat (limited to 'include/linux/perf_event.h')
| -rw-r--r-- | include/linux/perf_event.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index f9828a48f16a..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 */ @@ -391,6 +391,14 @@ struct pmu { * Filter events for PMU-specific reasons. */ int (*filter_match) (struct perf_event *event); /* optional */ + + /* + * Initial, PMU driver specific configuration. + */ + int (*get_drv_configs) (struct perf_event *event, + void __user *arg); /* optional */ + void (*free_drv_configs) (struct perf_event *event); + /* optional */ }; /** @@ -558,6 +566,7 @@ struct perf_event { struct irq_work pending; atomic_t event_limit; + struct list_head drv_configs; void (*destroy)(struct perf_event *); struct rcu_head rcu_head; |
