Home
last modified time | relevance | path

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

/Linux-v6.6/arch/x86/events/intel/
Dp6.c243 x86_pmu.attr_rdpmc = 0; in p6_pmu_rdpmc_quirk()
/Linux-v6.6/arch/x86/events/
Dcore.c2093 x86_pmu.attr_rdpmc = 1; /* enable userspace RDPMC usage by default */ in init_hw_perf_events()
2461 if (READ_ONCE(x86_pmu.attr_rdpmc) && in x86_pmu_event_init()
2542 return snprintf(buf, 40, "%d\n", x86_pmu.attr_rdpmc); in get_attr_rdpmc()
2562 if (val != x86_pmu.attr_rdpmc) { in set_attr_rdpmc()
2570 else if (x86_pmu.attr_rdpmc == 0) in set_attr_rdpmc()
2575 else if (x86_pmu.attr_rdpmc == 2) in set_attr_rdpmc()
2579 x86_pmu.attr_rdpmc = val; in set_attr_rdpmc()
Dperf_event.h801 int attr_rdpmc; member