Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/arch/x86/util/
Dintel-pt.c51 struct perf_pmu *intel_pt_pmu; member
121 static int intel_pt_read_config(struct perf_pmu *intel_pt_pmu, const char *str, in intel_pt_read_config() argument
129 mask = perf_pmu__format_bits(&intel_pt_pmu->format, str); in intel_pt_read_config()
134 if (evsel->core.attr.type == intel_pt_pmu->type) { in intel_pt_read_config()
143 static size_t intel_pt_psb_period(struct perf_pmu *intel_pt_pmu, in intel_pt_psb_period() argument
150 if (perf_pmu__scan_file(intel_pt_pmu, "caps/topa_multiple_entries", in intel_pt_psb_period()
163 err = intel_pt_read_config(intel_pt_pmu, "psb_period", evlist, &val); in intel_pt_psb_period()
169 pr_debug2("%s psb_period %zu\n", intel_pt_pmu->name, psb_period); in intel_pt_psb_period()
189 static u64 intel_pt_default_config(struct perf_pmu *intel_pt_pmu) in intel_pt_default_config() argument
200 if (perf_pmu__scan_file(intel_pt_pmu, "caps/mtc", "%d", in intel_pt_default_config()
[all …]
Dauxtrace.c22 struct perf_pmu *intel_pt_pmu; in auxtrace_record__init_intel() local
28 intel_pt_pmu = perf_pmu__find(INTEL_PT_PMU_NAME); in auxtrace_record__init_intel()
29 if (intel_pt_pmu) in auxtrace_record__init_intel()
30 intel_pt_pmu->auxtrace = true; in auxtrace_record__init_intel()
36 if (intel_pt_pmu && evsel->core.attr.type == intel_pt_pmu->type) in auxtrace_record__init_intel()