Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/arch/x86/tests/
H A Dintel-pt-test.c351 struct pt_caps { struct
355 static int get_pt_caps(int cpu, struct pt_caps *caps) in get_pt_caps() argument
390 static int compare_caps(int cpu, struct pt_caps *caps, struct pt_caps *caps0) in compare_caps()
392 struct pt_caps mask = { /* Mask of bits to check*/ in compare_caps()
439 struct pt_caps last_caps; in test__intel_pt_hybrid_compat()
440 struct pt_caps caps0; in test__intel_pt_hybrid_compat()
453 struct pt_caps caps; in test__intel_pt_hybrid_compat()
/openbmc/linux/arch/x86/events/intel/
H A Dpt.c54 } pt_caps[] = { variable
77 struct pt_cap_desc *cd = &pt_caps[capability]; in intel_pt_validate_cap()
246 size = sizeof(struct attribute *) * (ARRAY_SIZE(pt_caps)+1); in pt_pmu_hw_init()
251 size = sizeof(struct dev_ext_attribute) * (ARRAY_SIZE(pt_caps)+1); in pt_pmu_hw_init()
256 for (i = 0; i < ARRAY_SIZE(pt_caps); i++) { in pt_pmu_hw_init()
259 de_attr->attr.attr.name = pt_caps[i].name; in pt_pmu_hw_init()