Home
last modified time | relevance | path

Searched refs:perf_pmu (Results 1 – 25 of 59) sorted by relevance

123

/linux-6.6.21/tools/perf/util/
Dpmu.h40 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…
[all …]
Dpmus.h5 struct perf_pmu;
12 struct perf_pmu *perf_pmus__find(const char *name);
13 struct perf_pmu *perf_pmus__find_by_type(unsigned int type);
15 struct perf_pmu *perf_pmus__scan(struct perf_pmu *pmu);
16 struct perf_pmu *perf_pmus__scan_core(struct perf_pmu *pmu);
18 const struct perf_pmu *perf_pmus__pmu_for_pmu_filter(const char *str);
Dpmus.c66 struct perf_pmu *pmu, *tmp; in perf_pmus__destroy()
82 static struct perf_pmu *pmu_find(const char *name) in pmu_find()
84 struct perf_pmu *pmu; in pmu_find()
100 struct perf_pmu *perf_pmus__find(const char *name) in perf_pmus__find()
102 struct perf_pmu *pmu; in perf_pmus__find()
129 static struct perf_pmu *perf_pmu__find2(int dirfd, const char *name) in perf_pmu__find2()
131 struct perf_pmu *pmu; in perf_pmu__find2()
157 struct perf_pmu *lhs_pmu = container_of(lhs, struct perf_pmu, list); in pmus_cmp()
158 struct perf_pmu *rhs_pmu = container_of(rhs, struct perf_pmu, list); in pmus_cmp()
215 static struct perf_pmu *__perf_pmus__find_by_type(unsigned int type) in __perf_pmus__find_by_type()
[all …]
Dpmu.c32 struct perf_pmu perf_pmu__fake = {
115 static int pmu_aliases_parse(struct perf_pmu *pmu);
158 static void perf_pmu_format__load(struct perf_pmu *pmu, struct perf_pmu_format *format) in perf_pmu_format__load()
184 int perf_pmu__format_parse(struct perf_pmu *pmu, int dirfd, bool eager_load) in perf_pmu__format_parse()
234 static int pmu_format(struct perf_pmu *pmu, int dirfd, const char *name) in pmu_format()
286 static int perf_pmu__parse_scale(struct perf_pmu *pmu, struct perf_pmu_alias *alias) in perf_pmu__parse_scale()
322 static int perf_pmu__parse_unit(struct perf_pmu *pmu, struct perf_pmu_alias *alias) in perf_pmu__parse_unit()
358 perf_pmu__parse_per_pkg(struct perf_pmu *pmu, struct perf_pmu_alias *alias) in perf_pmu__parse_per_pkg()
379 static int perf_pmu__parse_snapshot(struct perf_pmu *pmu, struct perf_pmu_alias *alias) in perf_pmu__parse_snapshot()
411 static void perf_pmu__del_aliases(struct perf_pmu *pmu) in perf_pmu__del_aliases()
[all …]
Darm-spe.h22 struct perf_pmu;
25 struct perf_pmu *arm_spe_pmu);
30 struct perf_event_attr *arm_spe_pmu_default_config(struct perf_pmu *arm_spe_pmu);
Dparse-events.h20 struct perf_pmu;
34 struct parse_events_error *error, struct perf_pmu *fake_pmu,
155 struct perf_pmu *fake_pmu;
165 const struct perf_pmu *pmu);
217 struct perf_pmu *pmu);
Ds390-cpumsf.h14 struct perf_pmu;
17 s390_cpumsf_recording_init(int *err, struct perf_pmu *s390_cpumsf_pmu);
Dintel-pt.h38 struct perf_pmu;
45 struct perf_event_attr *intel_pt_pmu_default_config(struct perf_pmu *pmu);
Dcs-etm.h15 struct perf_pmu;
245 struct perf_event_attr *cs_etm_get_default_config(struct perf_pmu *pmu);
Dhisi-ptt.h14 struct perf_pmu *hisi_ptt_pmu);
Dparse-events.c191 static void fix_raw(struct list_head *config_terms, struct perf_pmu *pmu) in fix_raw()
228 const char *name, const char *metric_id, struct perf_pmu *pmu, in __add_event()
284 struct perf_pmu *pmu) in parse_events__add_event()
435 const struct perf_pmu *pmu) in parse_events__filter_pmu()
447 struct perf_pmu *pmu = NULL; in parse_events_add_cache()
977 const struct perf_pmu *pmu = perf_pmus__find_by_type(attr->type); in config_term_pmu()
995 const struct perf_pmu *pmu = perf_pmus__find_by_type(attr->type); in config_term_pmu()
1197 static int get_config_chgs(struct perf_pmu *pmu, struct list_head *head_config, in get_config_chgs()
1286 struct perf_pmu *pmu, u32 type, u32 extended_type, in __parse_events_add_numeric()
1326 struct perf_pmu *pmu = NULL; in parse_events_add_numeric()
[all …]
/linux-6.6.21/tools/perf/arch/arm/util/
Dauxtrace.c22 static struct perf_pmu **find_all_arm_spe_pmus(int *nr_spes, int *err) in find_all_arm_spe_pmus()
24 struct perf_pmu **arm_spe_pmus = NULL; in find_all_arm_spe_pmus()
29 arm_spe_pmus = zalloc(sizeof(struct perf_pmu *) * nr_cpus); in find_all_arm_spe_pmus()
57 static struct perf_pmu **find_all_hisi_ptt_pmus(int *nr_ptts, int *err) in find_all_hisi_ptt_pmus()
59 struct perf_pmu **hisi_ptt_pmus = NULL; in find_all_hisi_ptt_pmus()
81 hisi_ptt_pmus = zalloc(sizeof(struct perf_pmu *) * (*nr_ptts)); in find_all_hisi_ptt_pmus()
102 static struct perf_pmu *find_pmu_for_event(struct perf_pmu **pmus, in find_pmu_for_event()
121 struct perf_pmu *cs_etm_pmu = NULL; in auxtrace_record__init()
122 struct perf_pmu **arm_spe_pmus = NULL; in auxtrace_record__init()
123 struct perf_pmu **hisi_ptt_pmus = NULL; in auxtrace_record__init()
[all …]
Dcs-etm.c39 struct perf_pmu *cs_etm_pmu;
77 struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; in cs_etm_validate_context_id()
148 struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; in cs_etm_validate_timestamp()
248 static int cs_etm_set_sink_attr(struct perf_pmu *pmu, in cs_etm_set_sink_attr()
298 struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; in cs_etm_recording_options()
459 struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; in cs_etm_get_config()
572 struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; in cs_etm_is_etmv4()
586 static int cs_etm_get_ro(struct perf_pmu *pmu, int cpu, const char *path) in cs_etm_get_ro()
602 static int cs_etm_get_ro_signed(struct perf_pmu *pmu, int cpu, const char *path) in cs_etm_get_ro_signed()
618 static bool cs_etm_pmu_path_exists(struct perf_pmu *pmu, int cpu, const char *path) in cs_etm_pmu_path_exists()
[all …]
Dpmu.c18 *perf_pmu__get_default_config(struct perf_pmu *pmu __maybe_unused) in perf_pmu__get_default_config()
/linux-6.6.21/tools/perf/pmu-events/
Dpmu-events.h8 struct perf_pmu;
82 struct perf_pmu *pmu,
86 struct perf_pmu *pmu,
91 struct perf_pmu *pmu);
96 const struct pmu_events_table *perf_pmu__find_events_table(struct perf_pmu *pmu);
97 const struct pmu_metrics_table *perf_pmu__find_metrics_table(struct perf_pmu *pmu);
Dempty-pmu-events.c269 int pmu_events_table__for_each_event(const struct pmu_events_table *table, struct perf_pmu *pmu, in pmu_events_table__for_each_event()
286 struct perf_pmu *pmu, in pmu_events_table__find_event()
302 struct perf_pmu *pmu) in pmu_events_table__num_events()
327 const struct pmu_events_table *perf_pmu__find_events_table(struct perf_pmu *pmu) in perf_pmu__find_events_table()
355 const struct pmu_metrics_table *perf_pmu__find_metrics_table(struct perf_pmu *pmu) in perf_pmu__find_metrics_table()
/linux-6.6.21/tools/perf/arch/arm64/util/
Dpmu.c13 struct perf_pmu *pmu = pmu__find_core_pmu(); in pmu_metrics_table__find()
23 struct perf_pmu *pmu = pmu__find_core_pmu(); in pmu_events_table__find()
35 struct perf_pmu *pmu = pmu__find_core_pmu(); in perf_pmu__cpu_slots_per_cycle()
Dhisi-ptt.c32 struct perf_pmu *hisi_ptt_pmu;
50 struct perf_pmu *hisi_ptt_pmu = pttr->hisi_ptt_pmu; in hisi_ptt_info_fill()
102 struct perf_pmu *hisi_ptt_pmu = pttr->hisi_ptt_pmu; in hisi_ptt_recording_options()
161 struct perf_pmu *hisi_ptt_pmu) in hisi_ptt_recording_init()
Darm-spe.c33 struct perf_pmu *arm_spe_pmu;
53 struct perf_pmu *arm_spe_pmu = sper->arm_spe_pmu; in arm_spe_info_fill()
122 struct perf_pmu *arm_spe_pmu = sper->arm_spe_pmu; in arm_spe_recording_options()
465 struct perf_pmu *arm_spe_pmu) in arm_spe_recording_init()
499 *arm_spe_pmu_default_config(struct perf_pmu *arm_spe_pmu) in arm_spe_pmu_default_config()
/linux-6.6.21/tools/perf/arch/x86/util/
Dauxtrace.c23 struct perf_pmu *intel_pt_pmu; in auxtrace_record__init_intel()
24 struct perf_pmu *intel_bts_pmu; in auxtrace_record__init_intel()
Dintel-pt.c51 struct perf_pmu *intel_pt_pmu;
63 static int intel_pt_parse_terms_with_default(struct perf_pmu *pmu, in intel_pt_parse_terms_with_default()
92 static int intel_pt_parse_terms(struct perf_pmu *pmu, const char *str, u64 *config) in intel_pt_parse_terms()
117 static int intel_pt_read_config(struct perf_pmu *intel_pt_pmu, const char *str, in intel_pt_read_config()
139 static size_t intel_pt_psb_period(struct perf_pmu *intel_pt_pmu, in intel_pt_psb_period()
185 static u64 intel_pt_default_config(struct perf_pmu *intel_pt_pmu) in intel_pt_default_config()
265 intel_pt_pmu_default_config(struct perf_pmu *intel_pt_pmu) in intel_pt_pmu_default_config()
281 struct perf_pmu *intel_pt_pmu) in intel_pt_find_filter()
330 struct perf_pmu *intel_pt_pmu = ptr->intel_pt_pmu; in intel_pt_info_fill()
485 static int intel_pt_val_config_term(struct perf_pmu *intel_pt_pmu, int dirfd, in intel_pt_val_config_term()
[all …]
Dintel-bts.c41 struct perf_pmu *intel_bts_pmu;
69 struct perf_pmu *intel_bts_pmu = btsr->intel_bts_pmu; in intel_bts_info_fill()
111 struct perf_pmu *intel_bts_pmu = btsr->intel_bts_pmu; in intel_bts_recording_options()
419 struct perf_pmu *intel_bts_pmu = perf_pmus__find(INTEL_BTS_PMU_NAME); in intel_bts_recording_init()
Dtopdown.c15 struct perf_pmu *pmu; in topdown_sys_has_perf_metrics()
/linux-6.6.21/tools/perf/bench/
Dpmu-scan.c44 struct perf_pmu *pmu = NULL; in save_result()
78 struct perf_pmu *pmu; in check_result()
/linux-6.6.21/tools/perf/arch/s390/util/
Dpmu.c16 struct perf_event_attr *perf_pmu__get_default_config(struct perf_pmu *pmu) in perf_pmu__get_default_config()

123