/tools/perf/util/ |
D | pmu.h | 36 struct perf_pmu { struct 55 extern struct perf_pmu perf_pmu__fake; argument 86 struct perf_pmu *perf_pmu__find(const char *name); 87 struct perf_pmu *perf_pmu__find_by_type(unsigned int type); 88 void pmu_add_sys_aliases(struct list_head *head, struct perf_pmu *pmu); 89 int perf_pmu__config(struct perf_pmu *pmu, struct perf_event_attr *attr, 98 int perf_pmu__check_alias(struct perf_pmu *pmu, struct list_head *head_terms, 100 struct list_head *perf_pmu__alias(struct perf_pmu *pmu, 110 struct perf_pmu *perf_pmu__scan(struct perf_pmu *pmu); 118 int perf_pmu__scan_file(struct perf_pmu *pmu, const char *name, const char *fmt, ...) __scanf(3, 4); [all …]
|
D | arm-spe.h | 22 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);
|
D | parse-events-hybrid.c | 43 struct perf_pmu *pmu) in create_event_hybrid() 63 struct perf_pmu *pmu) in pmu_cmp() 75 struct perf_pmu *pmu; in add_hw_hybrid() 99 struct perf_pmu *pmu) in create_raw_event_hybrid() 118 struct perf_pmu *pmu; in add_raw_hybrid() 167 struct perf_pmu *pmu; in parse_events__add_cache_hybrid()
|
D | s390-cpumsf.h | 14 struct perf_pmu; 17 s390_cpumsf_recording_init(int *err, struct perf_pmu *s390_cpumsf_pmu);
|
D | pmu-hybrid.h | 18 struct perf_pmu *perf_pmu__find_hybrid_pmu(const char *name); 24 struct perf_pmu *pmu; in perf_pmu__hybrid_pmu_num()
|
D | intel-pt.h | 38 struct perf_pmu; 45 struct perf_event_attr *intel_pt_pmu_default_config(struct perf_pmu *pmu);
|
D | pmu.c | 32 struct perf_pmu perf_pmu__fake; 693 static char *perf_pmu__getcpuid(struct perf_pmu *pmu) in perf_pmu__getcpuid() 713 struct pmu_events_map *perf_pmu__find_map(struct perf_pmu *pmu) in perf_pmu__find_map() 826 void pmu_add_cpu_aliases_map(struct list_head *head, struct perf_pmu *pmu, in pmu_add_cpu_aliases_map() 860 static void pmu_add_cpu_aliases(struct list_head *head, struct perf_pmu *pmu) in pmu_add_cpu_aliases() 900 struct perf_pmu *pmu; 906 struct perf_pmu *pmu = idata->pmu; in pmu_add_sys_aliases_iter_fn() 929 void pmu_add_sys_aliases(struct list_head *head, struct perf_pmu *pmu) in pmu_add_sys_aliases() 943 perf_pmu__get_default_config(struct perf_pmu *pmu __maybe_unused) in perf_pmu__get_default_config() 973 static struct perf_pmu *pmu_lookup(const char *lookup_name) in pmu_lookup() [all …]
|
D | pmu-hybrid.c | 51 struct perf_pmu *perf_pmu__find_hybrid_pmu(const char *name) in perf_pmu__find_hybrid_pmu() 53 struct perf_pmu *pmu; in perf_pmu__find_hybrid_pmu()
|
D | parse-events.h | 20 struct perf_pmu; 37 struct perf_pmu *fake_pmu); 140 struct perf_pmu *fake_pmu; 203 char *name, struct perf_pmu *pmu); 270 char *name, struct perf_pmu *pmu,
|
D | evlist-hybrid.c | 22 struct perf_pmu *pmu; in evlist__add_default_hybrid() 94 struct perf_pmu *pmu; in evlist__fix_hybrid_cpus()
|
/tools/perf/arch/arm/util/ |
D | auxtrace.c | 18 static struct perf_pmu **find_all_arm_spe_pmus(int *nr_spes, int *err) in find_all_arm_spe_pmus() 20 struct perf_pmu **arm_spe_pmus = NULL; in find_all_arm_spe_pmus() 25 arm_spe_pmus = zalloc(sizeof(struct perf_pmu *) * nr_cpus); in find_all_arm_spe_pmus() 56 struct perf_pmu *cs_etm_pmu; in auxtrace_record__init() 59 struct perf_pmu *found_spe = NULL; in auxtrace_record__init() 60 struct perf_pmu **arm_spe_pmus = NULL; in auxtrace_record__init()
|
D | cs-etm.c | 39 struct perf_pmu *cs_etm_pmu; 66 struct perf_pmu *cs_etm_pmu; in cs_etm_set_context_id() 150 struct perf_pmu *cs_etm_pmu; in cs_etm_set_timestamp() 254 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() 481 struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; in cs_etm_get_config() 587 struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; in cs_etm_is_etmv4() 601 static int cs_etm_get_ro(struct perf_pmu *pmu, int cpu, const char *path) in cs_etm_get_ro() 628 struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; in cs_etm_is_ete() 641 struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; in cs_etm_save_etmv4_header() [all …]
|
D | pmu.c | 16 *perf_pmu__get_default_config(struct perf_pmu *pmu __maybe_unused) in perf_pmu__get_default_config()
|
/tools/perf/arch/arm64/util/ |
D | arm-spe.c | 32 struct perf_pmu *arm_spe_pmu; 40 struct perf_pmu *arm_spe_pmu; in arm_spe_set_timestamp() 73 struct perf_pmu *arm_spe_pmu = sper->arm_spe_pmu; in arm_spe_info_fill() 93 struct perf_pmu *arm_spe_pmu = sper->arm_spe_pmu; in arm_spe_recording_options() 199 struct perf_pmu *arm_spe_pmu) in arm_spe_recording_init() 229 *arm_spe_pmu_default_config(struct perf_pmu *arm_spe_pmu) in arm_spe_pmu_default_config()
|
D | pmu.c | 8 struct perf_pmu *pmu = NULL; in pmu_events_map__find()
|
D | header.c | 80 char *get_cpuid_str(struct perf_pmu *pmu) in get_cpuid_str()
|
/tools/perf/arch/x86/util/ |
D | auxtrace.c | 22 struct perf_pmu *intel_pt_pmu; in auxtrace_record__init_intel() 23 struct perf_pmu *intel_bts_pmu; in auxtrace_record__init_intel()
|
D | intel-pt.c | 50 struct perf_pmu *intel_pt_pmu; 120 static int intel_pt_read_config(struct perf_pmu *intel_pt_pmu, const char *str, in intel_pt_read_config() 142 static size_t intel_pt_psb_period(struct perf_pmu *intel_pt_pmu, in intel_pt_psb_period() 188 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() 329 struct perf_pmu *intel_pt_pmu = ptr->intel_pt_pmu; in intel_pt_info_fill() 487 static int intel_pt_val_config_term(struct perf_pmu *intel_pt_pmu, in intel_pt_val_config_term() 527 static int intel_pt_validate_config(struct perf_pmu *intel_pt_pmu, in intel_pt_validate_config() 563 static void intel_pt_config_sample_mode(struct perf_pmu *intel_pt_pmu, in intel_pt_config_sample_mode() [all …]
|
D | intel-bts.c | 41 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() 418 struct perf_pmu *intel_bts_pmu = perf_pmu__find(INTEL_BTS_PMU_NAME); in intel_bts_recording_init()
|
D | header.c | 72 get_cpuid_str(struct perf_pmu *pmu __maybe_unused) in get_cpuid_str()
|
D | pmu.c | 29 struct perf_event_attr *perf_pmu__get_default_config(struct perf_pmu *pmu __maybe_unused) in perf_pmu__get_default_config()
|
/tools/perf/arch/nds32/util/ |
D | header.c | 11 char *get_cpuid_str(struct perf_pmu *pmu) in get_cpuid_str()
|
/tools/perf/arch/powerpc/util/ |
D | header.c | 33 get_cpuid_str(struct perf_pmu *pmu __maybe_unused) in get_cpuid_str()
|
/tools/perf/tests/ |
D | pmu-events.c | 37 struct perf_pmu pmu; 473 struct perf_pmu *pmu; in __test_core_pmu_event_aliases() 526 struct perf_pmu *pmu = &test_pmu->pmu; in __test_uncore_pmu_event_aliases() 655 struct perf_pmu *pmu = NULL; in test_aliases() 705 struct perf_pmu *fake_pmu) in check_parse_id()
|
/tools/perf/arch/s390/util/ |
D | header.c | 140 char *get_cpuid_str(struct perf_pmu *pmu __maybe_unused) in get_cpuid_str()
|