Home
last modified time | relevance | path

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

/Linux-v6.1/arch/arm64/kernel/
Dperf_event.c1401 struct perf_event_mmap_page *userpg, u64 now) in device_initcall()
1407 userpg->cap_user_time = 0; in device_initcall()
1408 userpg->cap_user_time_zero = 0; in device_initcall()
1409 userpg->cap_user_time_short = 0; in device_initcall()
1410 userpg->cap_user_rdpmc = armv8pmu_event_has_user_read(event); in device_initcall()
1412 if (userpg->cap_user_rdpmc) { in device_initcall()
1414 userpg->pmc_width = 64; in device_initcall()
1416 userpg->pmc_width = 32; in device_initcall()
1425 userpg->time_mult = rd->mult; in device_initcall()
1426 userpg->time_shift = rd->shift; in device_initcall()
[all …]
/Linux-v6.1/tools/perf/util/
Dauxtrace.h333 void *userpg; member
464 struct perf_event_mmap_page *pc = mm->userpg; in auxtrace_mmap__read_head()
481 struct perf_event_mmap_page *pc = mm->userpg; in auxtrace_mmap__write_tail()
495 void *userpg, int fd);
872 void *userpg, int fd);
Dauxtrace.c116 void *userpg, int fd) in auxtrace_mmap__mmap() argument
118 struct perf_event_mmap_page *pc = userpg; in auxtrace_mmap__mmap()
122 mm->userpg = userpg; in auxtrace_mmap__mmap()
1782 struct perf_event_mmap_page *pc = mm->userpg; in compat_auxtrace_mmap__read_head()
1801 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-v6.1/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-v6.1/arch/x86/events/
Dcore.c2732 struct perf_event_mmap_page *userpg, u64 now) in arch_perf_update_userpage() argument
2737 userpg->cap_user_time = 0; in arch_perf_update_userpage()
2738 userpg->cap_user_time_zero = 0; in arch_perf_update_userpage()
2739 userpg->cap_user_rdpmc = in arch_perf_update_userpage()
2741 userpg->pmc_width = x86_pmu.cntval_bits; in arch_perf_update_userpage()
2754 userpg->cap_user_time = 1; in arch_perf_update_userpage()
2755 userpg->time_mult = data.cyc2ns_mul; in arch_perf_update_userpage()
2756 userpg->time_shift = data.cyc2ns_shift; in arch_perf_update_userpage()
2757 userpg->time_offset = offset - now; in arch_perf_update_userpage()
2764 userpg->cap_user_time_zero = 1; in arch_perf_update_userpage()
[all …]
/Linux-v6.1/kernel/events/
Dcore.c5835 struct perf_event_mmap_page *userpg; in perf_event_init_userpage() local
5843 userpg = rb->user_page; in perf_event_init_userpage()
5846 userpg->cap_bit0_is_deprecated = 1; in perf_event_init_userpage()
5847 userpg->size = offsetof(struct perf_event_mmap_page, __reserved); in perf_event_init_userpage()
5848 userpg->data_offset = PAGE_SIZE; in perf_event_init_userpage()
5849 userpg->data_size = perf_data_size(rb); in perf_event_init_userpage()
5856 struct perf_event *event, struct perf_event_mmap_page *userpg, u64 now) in arch_perf_update_userpage() argument
5867 struct perf_event_mmap_page *userpg; in perf_event_update_userpage() local
5887 userpg = rb->user_page; in perf_event_update_userpage()
5893 ++userpg->lock; in perf_event_update_userpage()
[all …]
/Linux-v6.1/include/linux/
Dperf_event.h1686 struct perf_event_mmap_page *userpg,