19 #include "../../util/header.h" 20 #include "../../util/debug.h" 21 #include "../../util/pmu.h" 22 #include "../../util/auxtrace.h" 23 #include "../../util/intel-pt.h" 24 #include "../../util/intel-bts.h" 25 #include "../../util/evlist.h" 34 bool found_pt =
false;
35 bool found_bts =
false;
41 if (intel_pt_pmu && evsel->
attr.type == intel_pt_pmu->
type)
43 if (intel_bts_pmu && evsel->
attr.type == intel_bts_pmu->
type)
47 if (found_pt && found_bts) {
48 pr_err(
"intel_pt and intel_bts may not be used together\n");
76 if (!strncmp(buffer,
"GenuineIntel,", 13))
#define INTEL_BTS_PMU_NAME
struct auxtrace_record * auxtrace_record__init(struct perf_evlist *evlist, int *err)
#define evlist__for_each_entry(evlist, evsel)
#define INTEL_PT_PMU_NAME
struct auxtrace_record * intel_pt_recording_init(int *err)
struct perf_pmu * perf_pmu__find(const char *name)
struct auxtrace_record * intel_bts_recording_init(int *err)
static struct auxtrace_record * auxtrace_record__init_intel(struct perf_evlist *evlist, int *err)
struct perf_event_attr attr