Home
last modified time | relevance | path

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

/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()
/linux/drivers/perf/
H A Driscv_pmu.c40 userpg->cap_user_rdpmc = riscv_perf_user_access(event); in arch_perf_update_userpage()
47 if (userpg->cap_user_rdpmc) in arch_perf_update_userpage()
H A Darm_pmuv3.c1455 userpg->cap_user_rdpmc = armv8pmu_event_has_user_read(event); in device_initcall()
1457 if (userpg->cap_user_rdpmc) { in device_initcall()
/linux/tools/lib/perf/
H A Dmmap.c486 if (!pc || !pc->cap_user_rdpmc) in perf_mmap__read_self()
510 if (pc->cap_user_rdpmc && idx) { in perf_mmap__read_self()
/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()
/linux/include/uapi/linux/
H A Dperf_event.h621 cap_user_rdpmc : 1, /* The RDPMC instruction can be used to read counts */ member
/linux/tools/include/uapi/linux/
H A Dperf_event.h621 cap_user_rdpmc : 1, /* The RDPMC instruction can be used to read counts */ member
/linux/arch/x86/events/
H A Dcore.c2720 userpg->cap_user_rdpmc = in arch_perf_update_userpage()