Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/perf/util/
Dpmu.h31 struct perf_pmu { struct
46 extern struct perf_pmu perf_pmu__fake; argument
76 struct perf_pmu *perf_pmu__find(const char *name);
77 struct perf_pmu *perf_pmu__find_by_type(unsigned int type);
78 int perf_pmu__config(struct perf_pmu *pmu, struct perf_event_attr *attr,
87 int perf_pmu__check_alias(struct perf_pmu *pmu, struct list_head *head_terms,
89 struct list_head *perf_pmu__alias(struct perf_pmu *pmu,
99 struct perf_pmu *perf_pmu__scan(struct perf_pmu *pmu);
107 int perf_pmu__scan_file(struct perf_pmu *pmu, const char *name, const char *fmt, ...) __scanf(3, 4);
111 struct perf_event_attr *perf_pmu__get_default_config(struct perf_pmu *pmu);
[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);
Dpmu.c29 struct perf_pmu perf_pmu__fake;
657 static char *perf_pmu__getcpuid(struct perf_pmu *pmu) in perf_pmu__getcpuid()
677 struct pmu_events_map *perf_pmu__find_map(struct perf_pmu *pmu) in perf_pmu__find_map()
749 void pmu_add_cpu_aliases_map(struct list_head *head, struct perf_pmu *pmu, in pmu_add_cpu_aliases_map()
788 static void pmu_add_cpu_aliases(struct list_head *head, struct perf_pmu *pmu) in pmu_add_cpu_aliases()
800 perf_pmu__get_default_config(struct perf_pmu *pmu __maybe_unused) in perf_pmu__get_default_config()
818 static struct perf_pmu *pmu_lookup(const char *name) in pmu_lookup()
820 struct perf_pmu *pmu; in pmu_lookup()
865 static struct perf_pmu *pmu_find(const char *name) in pmu_find()
867 struct perf_pmu *pmu; in pmu_find()
[all …]
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);
Dparse-events.h20 struct perf_pmu;
37 struct perf_pmu *fake_pmu);
140 struct perf_pmu *fake_pmu;
201 char *name, struct perf_pmu *pmu);
Dheader.h164 char *get_cpuid_str(struct perf_pmu *pmu __maybe_unused);
Dpfm.c36 struct perf_pmu *pmu; in parse_libpfm_events_option()
Dparse-events.c351 char *name, struct perf_pmu *pmu, in __add_event()
387 char *name, struct perf_pmu *pmu) in parse_events__add_event()
1336 static int get_config_chgs(struct perf_pmu *pmu, struct list_head *head_config, in get_config_chgs()
1439 struct perf_pmu *pmu; in parse_events_add_pmu()
1563 struct perf_pmu *pmu = NULL; in parse_events_multi_pmu_add()
1989 struct perf_pmu *pmu = NULL; in perf_pmu__parse_init()
2138 struct parse_events_error *err, struct perf_pmu *fake_pmu) in __parse_events()
2345 struct perf_pmu *pmu = NULL; in set_filter()
/kernel/linux/linux-5.10/tools/perf/arch/arm/util/
Dauxtrace.c18 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()
Dcs-etm.c39 struct perf_pmu *cs_etm_pmu;
66 struct perf_pmu *cs_etm_pmu; in cs_etm_set_context_id()
115 struct perf_pmu *cs_etm_pmu; in cs_etm_set_timestamp()
215 static int cs_etm_set_sink_attr(struct perf_pmu *pmu, in cs_etm_set_sink_attr()
259 struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; in cs_etm_recording_options()
442 struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; in cs_etm_get_config()
541 struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; in cs_etm_is_etmv4()
555 static int cs_etm_get_ro(struct perf_pmu *pmu, int cpu, const char *path) in cs_etm_get_ro()
579 struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; in cs_etm_get_metadata()
649 struct perf_pmu *cs_etm_pmu = ptr->cs_etm_pmu; in cs_etm_info_fill()
[all …]
Dpmu.c16 *perf_pmu__get_default_config(struct perf_pmu *pmu __maybe_unused) in perf_pmu__get_default_config()
/kernel/linux/linux-5.10/tools/perf/arch/arm64/util/
Darm-spe.c31 struct perf_pmu *arm_spe_pmu;
49 struct perf_pmu *arm_spe_pmu = sper->arm_spe_pmu; in arm_spe_info_fill()
69 struct perf_pmu *arm_spe_pmu = sper->arm_spe_pmu; in arm_spe_recording_options()
162 struct perf_pmu *arm_spe_pmu) in arm_spe_recording_init()
192 *arm_spe_pmu_default_config(struct perf_pmu *arm_spe_pmu) in arm_spe_pmu_default_config()
Dheader.c80 char *get_cpuid_str(struct perf_pmu *pmu) in get_cpuid_str()
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
Dauxtrace.c22 struct perf_pmu *intel_pt_pmu; in auxtrace_record__init_intel()
23 struct perf_pmu *intel_bts_pmu; in auxtrace_record__init_intel()
Dintel-pt.c50 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 …]
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()
418 struct perf_pmu *intel_bts_pmu = perf_pmu__find(INTEL_BTS_PMU_NAME); in intel_bts_recording_init()
Dpmu.c11 struct perf_event_attr *perf_pmu__get_default_config(struct perf_pmu *pmu __maybe_unused) in perf_pmu__get_default_config()
Dheader.c72 get_cpuid_str(struct perf_pmu *pmu __maybe_unused) in get_cpuid_str()
/kernel/linux/linux-5.10/tools/perf/arch/nds32/util/
Dheader.c11 char *get_cpuid_str(struct perf_pmu *pmu) in get_cpuid_str()
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/util/
Dheader.c33 get_cpuid_str(struct perf_pmu *pmu __maybe_unused) in get_cpuid_str()
/kernel/linux/linux-5.10/tools/perf/tests/
Dpmu-events.c272 struct perf_pmu *pmu; in __test__pmu_event_aliases()
362 struct perf_pmu *pmu = NULL; in test_aliases()
399 struct perf_pmu *fake_pmu) in check_parse_id()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0010_linux_tools.patch34 @@ -99,3 +99,31 @@ char *get_cpuid_str(struct perf_pmu *pmu)
206 char *get_cpuid_str(struct perf_pmu *pmu __maybe_unused);
236 @@ -664,6 +664,15 @@ static char *perf_pmu__getcpuid(struct perf_pmu *pmu)
/kernel/linux/linux-5.10/tools/perf/arch/s390/util/
Dheader.c140 char *get_cpuid_str(struct perf_pmu *pmu __maybe_unused) in get_cpuid_str()
/kernel/liteos_a/kernel/extended/perf/
DBUILD.gn38 "perf_pmu.c",

12