Home
last modified time | relevance | path

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

/arch/x86/events/intel/
Dp6.c243 x86_pmu.attr_rdpmc = 0; in p6_pmu_rdpmc_quirk()
/arch/x86/events/
Dcore.c2103 x86_pmu.attr_rdpmc = 1; /* enable userspace RDPMC usage by default */ in init_hw_perf_events()
2471 if (READ_ONCE(x86_pmu.attr_rdpmc) && in x86_pmu_event_init()
2552 return snprintf(buf, 40, "%d\n", x86_pmu.attr_rdpmc); in get_attr_rdpmc()
2572 if (val != x86_pmu.attr_rdpmc) { in set_attr_rdpmc()
2580 else if (x86_pmu.attr_rdpmc == 0) in set_attr_rdpmc()
2585 else if (x86_pmu.attr_rdpmc == 2) in set_attr_rdpmc()
2589 x86_pmu.attr_rdpmc = val; in set_attr_rdpmc()
Dperf_event.h778 int attr_rdpmc; member