Home
last modified time | relevance | path

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

/linux/tools/perf/arch/x86/util/
H A Dintel-pt.c52 struct perf_pmu *intel_pt_pmu; member
113 static int intel_pt_read_config(struct perf_pmu *intel_pt_pmu, const char *str, in intel_pt_read_config() argument
121 mask = perf_pmu__format_bits(intel_pt_pmu, str); in intel_pt_read_config()
126 if (evsel->core.attr.type == intel_pt_pmu->type) { in intel_pt_read_config()
135 static size_t intel_pt_psb_period(struct perf_pmu *intel_pt_pmu, in intel_pt_psb_period() argument
142 if (perf_pmu__scan_file(intel_pt_pmu, "caps/topa_multiple_entries", in intel_pt_psb_period()
155 err = intel_pt_read_config(intel_pt_pmu, "psb_period", evlist, &val); in intel_pt_psb_period()
161 pr_debug2("%s psb_period %zu\n", intel_pt_pmu->name, psb_period); in intel_pt_psb_period()
181 static u64 intel_pt_default_config(const struct perf_pmu *intel_pt_pmu) in intel_pt_default_config() argument
195 if (perf_pmu__scan_file_at(intel_pt_pmu, dirfd, "caps/mtc", "%d", in intel_pt_default_config()
[all …]
H A 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()
/linux/tools/perf/util/
H A Dintel-pt.h45 void intel_pt_pmu_default_config(const struct perf_pmu *intel_pt_pmu,