Lines Matching refs:perf_pmu

33 struct perf_pmu perf_pmu__fake = {
128 static int pmu_aliases_parse(struct perf_pmu *pmu);
171 static void perf_pmu_format__load(struct perf_pmu *pmu, struct perf_pmu_format *format) in perf_pmu_format__load()
197 int perf_pmu__format_parse(struct perf_pmu *pmu, int dirfd, bool eager_load) in perf_pmu__format_parse()
247 static int pmu_format(struct perf_pmu *pmu, int dirfd, const char *name) in pmu_format()
299 static int perf_pmu__parse_scale(struct perf_pmu *pmu, struct perf_pmu_alias *alias) in perf_pmu__parse_scale()
335 static int perf_pmu__parse_unit(struct perf_pmu *pmu, struct perf_pmu_alias *alias) in perf_pmu__parse_unit()
371 perf_pmu__parse_per_pkg(struct perf_pmu *pmu, struct perf_pmu_alias *alias) in perf_pmu__parse_per_pkg()
392 static int perf_pmu__parse_snapshot(struct perf_pmu *pmu, struct perf_pmu_alias *alias) in perf_pmu__parse_snapshot()
424 static void perf_pmu__del_aliases(struct perf_pmu *pmu) in perf_pmu__del_aliases()
434 static struct perf_pmu_alias *perf_pmu__find_alias(struct perf_pmu *pmu, in perf_pmu__find_alias()
489 static void read_alias_info(struct perf_pmu *pmu, struct perf_pmu_alias *alias) in read_alias_info()
504 struct perf_pmu *pmu;
534 static int perf_pmu__new_alias(struct perf_pmu *pmu, const char *name, in perf_pmu__new_alias()
637 static int pmu_aliases_parse(struct perf_pmu *pmu) in pmu_aliases_parse()
737 struct perf_pmu pmu = {.name = pmu_name}; in pmu_cpumask()
798 char *perf_pmu__getcpuid(struct perf_pmu *pmu) in perf_pmu__getcpuid()
943 struct perf_pmu *pmu = vdata; in pmu_add_cpu_aliases_map_callback()
954 void pmu_add_cpu_aliases_table(struct perf_pmu *pmu, const struct pmu_events_table *table) in pmu_add_cpu_aliases_table()
959 static void pmu_add_cpu_aliases(struct perf_pmu *pmu) in pmu_add_cpu_aliases()
975 struct perf_pmu *pmu = vdata; in pmu_add_sys_aliases_iter_fn()
994 void pmu_add_sys_aliases(struct perf_pmu *pmu) in pmu_add_sys_aliases()
1003 perf_pmu__get_default_config(struct perf_pmu *pmu __maybe_unused) in perf_pmu__get_default_config()
1020 static int pmu_max_precise(int dirfd, struct perf_pmu *pmu) in pmu_max_precise()
1028 struct perf_pmu *perf_pmu__lookup(struct list_head *pmus, int dirfd, const char *lookup_name) in perf_pmu__lookup()
1030 struct perf_pmu *pmu; in perf_pmu__lookup()
1097 struct perf_pmu *perf_pmu__create_placeholder_core_pmu(struct list_head *core_pmus) in perf_pmu__create_placeholder_core_pmu()
1099 struct perf_pmu *pmu = zalloc(sizeof(*pmu)); in perf_pmu__create_placeholder_core_pmu()
1121 void perf_pmu__warn_invalid_formats(struct perf_pmu *pmu) in perf_pmu__warn_invalid_formats()
1147 struct perf_pmu *pmu = evsel__find_pmu(evsel); in evsel__is_aux_event()
1161 void evsel__set_config_if_unset(struct perf_pmu *pmu, struct evsel *evsel, in evsel__set_config_if_unset()
1193 __u64 perf_pmu__format_bits(struct perf_pmu *pmu, const char *name) in perf_pmu__format_bits()
1208 int perf_pmu__format_type(struct perf_pmu *pmu, const char *name) in perf_pmu__format_type()
1306 static int pmu_config_term(struct perf_pmu *pmu, in pmu_config_term()
1429 int perf_pmu__config_terms(struct perf_pmu *pmu, in perf_pmu__config_terms()
1449 int perf_pmu__config(struct perf_pmu *pmu, struct perf_event_attr *attr, in perf_pmu__config()
1458 static struct perf_pmu_alias *pmu_find_alias(struct perf_pmu *pmu, in pmu_find_alias()
1497 static int check_info_data(struct perf_pmu *pmu, in check_info_data()
1544 int perf_pmu__check_alias(struct perf_pmu *pmu, struct list_head *head_terms, in perf_pmu__check_alias()
1614 int perf_pmu__find_event(struct perf_pmu *pmu, const char *event, void *state, pmu_event_callback c… in perf_pmu__find_event()
1638 bool perf_pmu__has_format(const struct perf_pmu *pmu, const char *name) in perf_pmu__has_format()
1654 bool perf_pmu__supports_legacy_cache(const struct perf_pmu *pmu) in perf_pmu__supports_legacy_cache()
1659 bool perf_pmu__auto_merge_stats(const struct perf_pmu *pmu) in perf_pmu__auto_merge_stats()
1664 bool perf_pmu__have_event(struct perf_pmu *pmu, const char *name) in perf_pmu__have_event()
1673 size_t perf_pmu__num_events(struct perf_pmu *pmu) in perf_pmu__num_events()
1697 static char *format_alias(char *buf, int len, const struct perf_pmu *pmu, in format_alias()
1726 int perf_pmu__for_each_event(struct perf_pmu *pmu, bool skip_duplicate_pmus, in perf_pmu__for_each_event()
1795 bool pmu__name_match(const struct perf_pmu *pmu, const char *pmu_name) in pmu__name_match()
1806 bool perf_pmu__is_software(const struct perf_pmu *pmu) in perf_pmu__is_software()
1832 FILE *perf_pmu__open_file(struct perf_pmu *pmu, const char *name) in perf_pmu__open_file()
1843 FILE *perf_pmu__open_file_at(struct perf_pmu *pmu, int dirfd, const char *name) in perf_pmu__open_file_at()
1854 int perf_pmu__scan_file(struct perf_pmu *pmu, const char *name, const char *fmt, in perf_pmu__scan_file()
1871 int perf_pmu__scan_file_at(struct perf_pmu *pmu, int dirfd, const char *name, in perf_pmu__scan_file_at()
1888 bool perf_pmu__file_exists(struct perf_pmu *pmu, const char *name) in perf_pmu__file_exists()
1922 static void perf_pmu__del_caps(struct perf_pmu *pmu) in perf_pmu__del_caps()
1939 int perf_pmu__caps_parse(struct perf_pmu *pmu) in perf_pmu__caps_parse()
2000 static void perf_pmu__compute_config_masks(struct perf_pmu *pmu) in perf_pmu__compute_config_masks()
2023 void perf_pmu__warn_invalid_config(struct perf_pmu *pmu, __u64 config, in perf_pmu__warn_invalid_config()
2118 void perf_pmu__delete(struct perf_pmu *pmu) in perf_pmu__delete()
2133 const char *perf_pmu__name_from_config(struct perf_pmu *pmu, u64 config) in perf_pmu__name_from_config()