Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/events/intel/
Dp6.c243 x86_pmu.attr_rdpmc = 0; in p6_pmu_rdpmc_quirk()
/Linux-v5.10/arch/x86/events/
Dcore.c1971 x86_pmu.attr_rdpmc = 1; /* enable userspace RDPMC usage by default */ in init_hw_perf_events()
2278 if (READ_ONCE(x86_pmu.attr_rdpmc) && in x86_pmu_event_init()
2333 return snprintf(buf, 40, "%d\n", x86_pmu.attr_rdpmc); in get_attr_rdpmc()
2353 if (val != x86_pmu.attr_rdpmc) { in set_attr_rdpmc()
2361 else if (x86_pmu.attr_rdpmc == 0) in set_attr_rdpmc()
2366 else if (x86_pmu.attr_rdpmc == 2) in set_attr_rdpmc()
2370 x86_pmu.attr_rdpmc = val; in set_attr_rdpmc()
Dperf_event.h691 int attr_rdpmc; member