Lines Matching refs:perf_pmu

40 struct perf_pmu {  struct
167 extern struct perf_pmu perf_pmu__fake; argument
177 const struct perf_pmu *pmu;
192 void pmu_add_sys_aliases(struct perf_pmu *pmu);
193 int perf_pmu__config(struct perf_pmu *pmu, struct perf_event_attr *attr,
196 int perf_pmu__config_terms(struct perf_pmu *pmu,
200 __u64 perf_pmu__format_bits(struct perf_pmu *pmu, const char *name);
201 int perf_pmu__format_type(struct perf_pmu *pmu, const char *name);
202 int perf_pmu__check_alias(struct perf_pmu *pmu, struct list_head *head_terms,
204 int perf_pmu__find_event(struct perf_pmu *pmu, const char *event, void *state, pmu_event_callback c…
206 int perf_pmu__format_parse(struct perf_pmu *pmu, int dirfd, bool eager_load);
208 bool perf_pmu__has_format(const struct perf_pmu *pmu, const char *name);
211 bool perf_pmu__supports_legacy_cache(const struct perf_pmu *pmu);
212 bool perf_pmu__auto_merge_stats(const struct perf_pmu *pmu);
213 bool perf_pmu__have_event(struct perf_pmu *pmu, const char *name);
214 size_t perf_pmu__num_events(struct perf_pmu *pmu);
215 int perf_pmu__for_each_event(struct perf_pmu *pmu, bool skip_duplicate_pmus,
217 bool pmu__name_match(const struct perf_pmu *pmu, const char *pmu_name);
223 bool perf_pmu__is_software(const struct perf_pmu *pmu);
225 FILE *perf_pmu__open_file(struct perf_pmu *pmu, const char *name);
226 FILE *perf_pmu__open_file_at(struct perf_pmu *pmu, int dirfd, const char *name);
228 int perf_pmu__scan_file(struct perf_pmu *pmu, const char *name, const char *fmt, ...) __scanf(3, 4);
229 int perf_pmu__scan_file_at(struct perf_pmu *pmu, int dirfd, const char *name,
232 bool perf_pmu__file_exists(struct perf_pmu *pmu, const char *name);
236 struct perf_event_attr *perf_pmu__get_default_config(struct perf_pmu *pmu);
237 void pmu_add_cpu_aliases_table(struct perf_pmu *pmu,
240 char *perf_pmu__getcpuid(struct perf_pmu *pmu);
246 int perf_pmu__caps_parse(struct perf_pmu *pmu);
248 void perf_pmu__warn_invalid_config(struct perf_pmu *pmu, __u64 config,
251 void perf_pmu__warn_invalid_formats(struct perf_pmu *pmu);
264 struct perf_pmu *perf_pmu__lookup(struct list_head *pmus, int dirfd, const char *lookup_name);
265 struct perf_pmu *perf_pmu__create_placeholder_core_pmu(struct list_head *core_pmus);
266 void perf_pmu__delete(struct perf_pmu *pmu);
267 struct perf_pmu *pmu__find_core_pmu(void);