Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm64/kernel/
Dperf_event.c1259 struct perf_event_mmap_page *userpg, u64 now) in device_initcall()
1265 userpg->cap_user_time = 0; in device_initcall()
1266 userpg->cap_user_time_zero = 0; in device_initcall()
1267 userpg->cap_user_time_short = 0; in device_initcall()
1275 userpg->time_mult = rd->mult; in device_initcall()
1276 userpg->time_shift = rd->shift; in device_initcall()
1277 userpg->time_zero = rd->epoch_ns; in device_initcall()
1278 userpg->time_cycles = rd->epoch_cyc; in device_initcall()
1279 userpg->time_mask = rd->sched_clock_mask; in device_initcall()
1287 userpg->time_zero -= ns; in device_initcall()
[all …]
/Linux-v5.10/tools/perf/util/
Dauxtrace.h313 void *userpg; member
441 struct perf_event_mmap_page *pc = mm->userpg; in auxtrace_mmap__read_snapshot_head()
451 struct perf_event_mmap_page *pc = mm->userpg; in auxtrace_mmap__read_head()
465 struct perf_event_mmap_page *pc = mm->userpg; in auxtrace_mmap__write_tail()
483 void *userpg, int fd);
814 void *userpg, int fd);
Dmmap.c46 void *userpg __maybe_unused, in auxtrace_mmap__mmap()
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()
/Linux-v5.10/arch/x86/events/
Dcore.c2485 struct perf_event_mmap_page *userpg, u64 now) in arch_perf_update_userpage() argument
2490 userpg->cap_user_time = 0; in arch_perf_update_userpage()
2491 userpg->cap_user_time_zero = 0; in arch_perf_update_userpage()
2492 userpg->cap_user_rdpmc = in arch_perf_update_userpage()
2494 userpg->pmc_width = x86_pmu.cntval_bits; in arch_perf_update_userpage()
2507 userpg->cap_user_time = 1; in arch_perf_update_userpage()
2508 userpg->time_mult = data.cyc2ns_mul; in arch_perf_update_userpage()
2509 userpg->time_shift = data.cyc2ns_shift; in arch_perf_update_userpage()
2510 userpg->time_offset = offset - now; in arch_perf_update_userpage()
2517 userpg->cap_user_time_zero = 1; in arch_perf_update_userpage()
[all …]
/Linux-v5.10/kernel/events/
Dcore.c5652 struct perf_event_mmap_page *userpg; in perf_event_init_userpage() local
5660 userpg = rb->user_page; in perf_event_init_userpage()
5663 userpg->cap_bit0_is_deprecated = 1; in perf_event_init_userpage()
5664 userpg->size = offsetof(struct perf_event_mmap_page, __reserved); in perf_event_init_userpage()
5665 userpg->data_offset = PAGE_SIZE; in perf_event_init_userpage()
5666 userpg->data_size = perf_data_size(rb); in perf_event_init_userpage()
5673 struct perf_event *event, struct perf_event_mmap_page *userpg, u64 now) in arch_perf_update_userpage() argument
5684 struct perf_event_mmap_page *userpg; in perf_event_update_userpage() local
5704 userpg = rb->user_page; in perf_event_update_userpage()
5710 ++userpg->lock; in perf_event_update_userpage()
[all …]
/Linux-v5.10/include/linux/
Dperf_event.h1585 struct perf_event_mmap_page *userpg,