Searched refs:cap_user_rdpmc (Results 1 – 8 of 8) sorted by relevance
217 if (!pc->cap_user_rdpmc || !pc->index) { in test_stat_user_read()219 !pc->cap_user_rdpmc ? "supported" : "enabled"); in test_stat_user_read()
40 userpg->cap_user_rdpmc = riscv_perf_user_access(event); in arch_perf_update_userpage()48 if (userpg->cap_user_rdpmc) in arch_perf_update_userpage()
1384 userpg->cap_user_rdpmc = armv8pmu_event_has_user_read(event); in device_initcall()1386 if (userpg->cap_user_rdpmc) { in device_initcall()
472 if (!pc || !pc->cap_user_rdpmc) in perf_mmap__read_self()496 if (pc->cap_user_rdpmc && idx) { in perf_mmap__read_self()
160 __T("userspace counter access not supported", pc->cap_user_rdpmc); in test_stat_user_read()
617 cap_user_rdpmc : 1, /* The RDPMC instruction can be used to read counts */ member
2720 userpg->cap_user_rdpmc = in arch_perf_update_userpage()