Home
last modified time | relevance | path

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

/linux-6.6.21/tools/perf/arch/x86/util/
Dintel-pt.c51 struct perf_pmu *intel_pt_pmu; member
117 static int intel_pt_read_config(struct perf_pmu *intel_pt_pmu, const char *str, in intel_pt_read_config() argument
125 mask = perf_pmu__format_bits(intel_pt_pmu, str); in intel_pt_read_config()
130 if (evsel->core.attr.type == intel_pt_pmu->type) { in intel_pt_read_config()
139 static size_t intel_pt_psb_period(struct perf_pmu *intel_pt_pmu, in intel_pt_psb_period() argument
146 if (perf_pmu__scan_file(intel_pt_pmu, "caps/topa_multiple_entries", in intel_pt_psb_period()
159 err = intel_pt_read_config(intel_pt_pmu, "psb_period", evlist, &val); in intel_pt_psb_period()
165 pr_debug2("%s psb_period %zu\n", intel_pt_pmu->name, psb_period); in intel_pt_psb_period()
185 static u64 intel_pt_default_config(struct perf_pmu *intel_pt_pmu) in intel_pt_default_config() argument
199 if (perf_pmu__scan_file_at(intel_pt_pmu, dirfd, "caps/mtc", "%d", in intel_pt_default_config()
[all …]
Dauxtrace.c23 struct perf_pmu *intel_pt_pmu; in auxtrace_record__init_intel() local
29 intel_pt_pmu = perf_pmus__find(INTEL_PT_PMU_NAME); in auxtrace_record__init_intel()
33 if (intel_pt_pmu && evsel->core.attr.type == intel_pt_pmu->type) in auxtrace_record__init_intel()