Home
last modified time | relevance | path

Searched refs:cs_etm_pmu (Results 1 – 2 of 2) sorted by relevance

/linux/tools/perf/arch/arm/util/
H A Dcs-etm.c39 struct perf_pmu *cs_etm_pmu; member
71 static bool cs_etm_is_ete(struct perf_pmu *cs_etm_pmu, struct perf_cpu cpu);
75 static enum cs_etm_version cs_etm_get_version(struct perf_pmu *cs_etm_pmu, in cs_etm_get_version() argument
78 if (cs_etm_is_ete(cs_etm_pmu, cpu)) in cs_etm_get_version()
80 else if (cs_etm_pmu_path_exists(cs_etm_pmu, cpu, metadata_etmv4_ro[CS_ETMV4_TRCIDR0])) in cs_etm_get_version()
82 else if (cs_etm_pmu_path_exists(cs_etm_pmu, cpu, metadata_etmv3_ro[CS_ETM_ETMCCER])) in cs_etm_get_version()
88 static int cs_etm_validate_context_id(struct perf_pmu *cs_etm_pmu, struct evsel *evsel, in cs_etm_validate_context_id() argument
94 (perf_pmu__format_bits(cs_etm_pmu, "contextid") | in cs_etm_validate_context_id()
95 perf_pmu__format_bits(cs_etm_pmu, "contextid1") | in cs_etm_validate_context_id()
96 perf_pmu__format_bits(cs_etm_pmu, "contextid2")); in cs_etm_validate_context_id()
[all …]
H A Dauxtrace.c121 struct perf_pmu *cs_etm_pmu = NULL; in auxtrace_record__init() local
135 cs_etm_pmu = perf_pmus__find(CORESIGHT_ETM_PMU_NAME); in auxtrace_record__init()
140 if (cs_etm_pmu && !found_etm) in auxtrace_record__init()
141 found_etm = find_pmu_for_event(&cs_etm_pmu, 1, evsel); in auxtrace_record__init()