Home
last modified time | relevance | path

Searched refs:userpg (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/perf/
Driscv_pmu.c31 struct perf_event_mmap_page *userpg, u64 now) in arch_perf_update_userpage() argument
37 userpg->cap_user_time = 0; in arch_perf_update_userpage()
38 userpg->cap_user_time_zero = 0; in arch_perf_update_userpage()
39 userpg->cap_user_time_short = 0; in arch_perf_update_userpage()
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()
49 userpg->pmc_width = to_riscv_pmu(event->pmu)->ctr_get_width(event->hw.idx) + 1; in arch_perf_update_userpage()
55 userpg->time_mult = rd->mult; in arch_perf_update_userpage()
56 userpg->time_shift = rd->shift; in arch_perf_update_userpage()
57 userpg->time_zero = rd->epoch_ns; in arch_perf_update_userpage()
[all …]
Darm_pmuv3.c1375 struct perf_event_mmap_page *userpg, u64 now) in device_initcall()
1381 userpg->cap_user_time = 0; in device_initcall()
1382 userpg->cap_user_time_zero = 0; in device_initcall()
1383 userpg->cap_user_time_short = 0; in device_initcall()
1384 userpg->cap_user_rdpmc = armv8pmu_event_has_user_read(event); in device_initcall()
1386 if (userpg->cap_user_rdpmc) { in device_initcall()
1388 userpg->pmc_width = 64; in device_initcall()
1390 userpg->pmc_width = 32; in device_initcall()
1399 userpg->time_mult = rd->mult; in device_initcall()
1400 userpg->time_shift = rd->shift; in device_initcall()
[all …]
/linux-6.6.21/tools/perf/util/
Dauxtrace.h337 void *userpg; member
468 struct perf_event_mmap_page *pc = mm->userpg; in auxtrace_mmap__read_head()
485 struct perf_event_mmap_page *pc = mm->userpg; in auxtrace_mmap__write_tail()
499 void *userpg, int fd);
877 void *userpg, int fd);
Dauxtrace.c117 void *userpg, int fd) in auxtrace_mmap__mmap() argument
119 struct perf_event_mmap_page *pc = userpg; in auxtrace_mmap__mmap()
123 mm->userpg = userpg; in auxtrace_mmap__mmap()
1791 struct perf_event_mmap_page *pc = mm->userpg; in compat_auxtrace_mmap__read_head()
1810 struct perf_event_mmap_page *pc = mm->userpg; in compat_auxtrace_mmap__write_tail()
Dmmap.c46 void *userpg __maybe_unused, in auxtrace_mmap__mmap()
/linux-6.6.21/tools/perf/arch/arm/util/
Dauxtrace.c192 struct perf_event_mmap_page *pc = mm->userpg; in compat_auxtrace_mmap__read_head()
206 struct perf_event_mmap_page *pc = mm->userpg; in compat_auxtrace_mmap__write_tail()
/linux-6.6.21/arch/x86/events/
Dcore.c2707 struct perf_event_mmap_page *userpg, u64 now) in arch_perf_update_userpage() argument
2712 userpg->cap_user_time = 0; in arch_perf_update_userpage()
2713 userpg->cap_user_time_zero = 0; in arch_perf_update_userpage()
2714 userpg->cap_user_rdpmc = in arch_perf_update_userpage()
2716 userpg->pmc_width = x86_pmu.cntval_bits; in arch_perf_update_userpage()
2729 userpg->cap_user_time = 1; in arch_perf_update_userpage()
2730 userpg->time_mult = data.cyc2ns_mul; in arch_perf_update_userpage()
2731 userpg->time_shift = data.cyc2ns_shift; in arch_perf_update_userpage()
2732 userpg->time_offset = offset - now; in arch_perf_update_userpage()
2739 userpg->cap_user_time_zero = 1; in arch_perf_update_userpage()
[all …]
/linux-6.6.21/kernel/events/
Dcore.c6062 struct perf_event_mmap_page *userpg; in perf_event_init_userpage() local
6070 userpg = rb->user_page; in perf_event_init_userpage()
6073 userpg->cap_bit0_is_deprecated = 1; in perf_event_init_userpage()
6074 userpg->size = offsetof(struct perf_event_mmap_page, __reserved); in perf_event_init_userpage()
6075 userpg->data_offset = PAGE_SIZE; in perf_event_init_userpage()
6076 userpg->data_size = perf_data_size(rb); in perf_event_init_userpage()
6083 struct perf_event *event, struct perf_event_mmap_page *userpg, u64 now) in arch_perf_update_userpage() argument
6094 struct perf_event_mmap_page *userpg; in perf_event_update_userpage() local
6114 userpg = rb->user_page; in perf_event_update_userpage()
6120 ++userpg->lock; in perf_event_update_userpage()
[all …]
/linux-6.6.21/include/linux/
Dperf_event.h1882 struct perf_event_mmap_page *userpg,