Home
last modified time | relevance | path

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

/Linux-v6.1/arch/x86/events/intel/
Dp6.c243 x86_pmu.attr_rdpmc = 0; in p6_pmu_rdpmc_quirk()
/Linux-v6.1/arch/x86/events/
Dcore.c2111 x86_pmu.attr_rdpmc = 1; /* enable userspace RDPMC usage by default */ in init_hw_perf_events()
2487 if (READ_ONCE(x86_pmu.attr_rdpmc) && in x86_pmu_event_init()
2568 return snprintf(buf, 40, "%d\n", x86_pmu.attr_rdpmc); in get_attr_rdpmc()
2588 if (val != x86_pmu.attr_rdpmc) { in set_attr_rdpmc()
2596 else if (x86_pmu.attr_rdpmc == 0) in set_attr_rdpmc()
2601 else if (x86_pmu.attr_rdpmc == 2) in set_attr_rdpmc()
2605 x86_pmu.attr_rdpmc = val; in set_attr_rdpmc()
Dperf_event.h797 int attr_rdpmc; member