diff options
Diffstat (limited to 'tools/perf/util/auxtrace.h')
| -rw-r--r-- | tools/perf/util/auxtrace.h | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/tools/perf/util/auxtrace.h b/tools/perf/util/auxtrace.h index 749d72cd9c7b..e58ef160b599 100644 --- a/tools/perf/util/auxtrace.h +++ b/tools/perf/util/auxtrace.h @@ -29,6 +29,7 @@ struct record_opts;  struct perf_record_auxtrace_error;  struct perf_record_auxtrace_info;  struct events_stats; +struct perf_pmu;  enum auxtrace_error_type {         PERF_AUXTRACE_ERROR_ITRACE  = 1, @@ -322,6 +323,8 @@ struct auxtrace_mmap_params {   * @read_finish: called after reading from an auxtrace mmap   * @alignment: alignment (if any) for AUX area data   * @default_aux_sample_size: default sample size for --aux sample option + * @pmu: associated pmu + * @evlist: selected events list   */  struct auxtrace_record {  	int (*recording_options)(struct auxtrace_record *itr, @@ -346,6 +349,8 @@ struct auxtrace_record {  	int (*read_finish)(struct auxtrace_record *itr, int idx);  	unsigned int alignment;  	unsigned int default_aux_sample_size; +	struct perf_pmu *pmu; +	struct evlist *evlist;  };  /** @@ -537,6 +542,7 @@ int auxtrace_record__find_snapshot(struct auxtrace_record *itr, int idx,  				   struct auxtrace_mmap *mm,  				   unsigned char *data, u64 *head, u64 *old);  u64 auxtrace_record__reference(struct auxtrace_record *itr); +int auxtrace_record__read_finish(struct auxtrace_record *itr, int idx);  int auxtrace_index__auxtrace_event(struct list_head *head, union perf_event *event,  				   off_t file_offset); |