Home
last modified time | relevance | path

Searched refs:cap_user_rdpmc (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/tools/perf/tests/
H A Dmmap-basic.c217 if (!pc->cap_user_rdpmc || !pc->index) { in test_stat_user_read()
219 !pc->cap_user_rdpmc ? "supported" : "enabled"); in test_stat_user_read()
/openbmc/linux/drivers/perf/
H A Driscv_pmu.c40 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()
H A Darm_pmuv3.c1384 userpg->cap_user_rdpmc = armv8pmu_event_has_user_read(event); in device_initcall()
1386 if (userpg->cap_user_rdpmc) { in device_initcall()
/openbmc/linux/tools/lib/perf/
H A Dmmap.c472 if (!pc || !pc->cap_user_rdpmc) in perf_mmap__read_self()
496 if (pc->cap_user_rdpmc && idx) { in perf_mmap__read_self()
/openbmc/linux/tools/lib/perf/tests/
H A Dtest-evsel.c160 __T("userspace counter access not supported", pc->cap_user_rdpmc); in test_stat_user_read()
/openbmc/linux/tools/include/uapi/linux/
H A Dperf_event.h617 cap_user_rdpmc : 1, /* The RDPMC instruction can be used to read counts */ member
/openbmc/linux/include/uapi/linux/
H A Dperf_event.h617 cap_user_rdpmc : 1, /* The RDPMC instruction can be used to read counts */ member
/openbmc/linux/arch/x86/events/
H A Dcore.c2720 userpg->cap_user_rdpmc = in arch_perf_update_userpage()