Home
last modified time | relevance | path

Searched refs:mmap_pages (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/tools/perf/tests/
Dbackward-ring-buffer.c62 static int do_test(struct evlist *evlist, int mmap_pages, in do_test() argument
68 err = evlist__mmap(evlist, mmap_pages); in do_test()
98 .mmap_pages = 256, in test__backward_ring_buffer()
140 err = do_test(evlist, opts.mmap_pages, &sample_count, in test__backward_ring_buffer()
Dperf-record.c52 .mmap_pages = 256, in test__PERF_RECORD()
148 err = evlist__mmap(evlist, opts.mmap_pages); in test__PERF_RECORD()
Dbpf.c121 .mmap_pages = 256, in do_test()
173 err = evlist__mmap(evlist, opts.mmap_pages); in do_test()
Dopenat-syscall-tp-fields.c34 .mmap_pages = 256, in test__syscall_openat_tp_fields()
Dkeep-tracking.c67 .mmap_pages = UINT_MAX, in test__keep_tracking()
Dswitch-tracking.c328 .mmap_pages = UINT_MAX, in test__switch_tracking()
Dcode-reading.c557 .mmap_pages = UINT_MAX, in do_test_code_reading()
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
Dintel-bts.c157 if (opts->mmap_pages == UINT_MAX) in intel_bts_recording_options()
158 opts->mmap_pages = KiB(256) / page_size; in intel_bts_recording_options()
161 opts->mmap_pages == UINT_MAX) { in intel_bts_recording_options()
162 opts->mmap_pages = KiB(256) / page_size; in intel_bts_recording_options()
194 if (opts->mmap_pages == UINT_MAX) in intel_bts_recording_options()
195 opts->mmap_pages = KiB(256) / page_size; in intel_bts_recording_options()
Dintel-pt.c687 if (opts->mmap_pages == UINT_MAX) in intel_pt_recording_options()
688 opts->mmap_pages = KiB(256) / page_size; in intel_pt_recording_options()
691 opts->mmap_pages == UINT_MAX) { in intel_pt_recording_options()
692 opts->mmap_pages = KiB(256) / page_size; in intel_pt_recording_options()
730 opts->mmap_pages == UINT_MAX) in intel_pt_recording_options()
731 opts->mmap_pages = KiB(256) / page_size; in intel_pt_recording_options()
757 if (opts->mmap_pages == UINT_MAX) in intel_pt_recording_options()
758 opts->mmap_pages = KiB(256) / page_size; in intel_pt_recording_options()
/kernel/linux/linux-5.10/tools/perf/arch/arm/util/
Dcs-etm.c313 if (opts->mmap_pages == UINT_MAX) in cs_etm_recording_options()
314 opts->mmap_pages = KiB(256) / page_size; in cs_etm_recording_options()
317 opts->mmap_pages == UINT_MAX) { in cs_etm_recording_options()
318 opts->mmap_pages = KiB(256) / page_size; in cs_etm_recording_options()
365 if (opts->mmap_pages == UINT_MAX) in cs_etm_recording_options()
366 opts->mmap_pages = KiB(256) / page_size; in cs_etm_recording_options()
/kernel/linux/linux-5.10/tools/perf/arch/arm64/util/
Darm-spe.c99 if (opts->mmap_pages == UINT_MAX) in arm_spe_recording_options()
100 opts->mmap_pages = KiB(256) / page_size; in arm_spe_recording_options()
/kernel/linux/linux-5.10/tools/perf/util/
Drecord.h53 unsigned int mmap_pages; member
Devlist.h198 int __perf_evlist__parse_mmap_pages(unsigned int *mmap_pages, const char *str);
Devlist.c838 int __perf_evlist__parse_mmap_pages(unsigned int *mmap_pages, const char *str) in __perf_evlist__parse_mmap_pages() argument
852 *mmap_pages = pages; in __perf_evlist__parse_mmap_pages()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-record.c475 flush_max = evlist__mmap_size(opts->mmap_pages); in record__mmap_flush_parse()
849 if (evlist__mmap_ex(evlist, opts->mmap_pages, in record__mmap_evlist()
860 opts->mmap_pages, opts->auxtrace_mmap_pages); in record__mmap_evlist()
2210 unsigned int mmap_pages; in record__parse_mmap_pages() local
2225 ret = __perf_evlist__parse_mmap_pages(&mmap_pages, s); in record__parse_mmap_pages()
2228 opts->mmap_pages = mmap_pages; in record__parse_mmap_pages()
2236 ret = __perf_evlist__parse_mmap_pages(&mmap_pages, p + 1); in record__parse_mmap_pages()
2240 opts->auxtrace_mmap_pages = mmap_pages; in record__parse_mmap_pages()
2258 u64 wakeup_size = evlist__mmap_size(rec->opts.mmap_pages); in switch_output_size_warn()
2382 .mmap_pages = UINT_MAX,
Dbuiltin-top.c1061 if (evlist__mmap(evlist, opts->mmap_pages) < 0) { in perf_top__start_counters()
1426 .mmap_pages = UINT_MAX, in cmd_top()
1471 OPT_CALLBACK('m', "mmap-pages", &opts->mmap_pages, "pages", in cmd_top()
Dbuiltin-kvm.c1065 if (evlist__mmap(evlist, kvm->opts.mmap_pages) < 0) { in kvm_live_open_events()
1351 OPT_CALLBACK('m', "mmap-pages", &kvm->opts.mmap_pages, "pages", in kvm_events_live()
1398 kvm->opts.mmap_pages = 512; in kvm_events_live()
Dbuiltin-trace.c4044 err = evlist__mmap(evlist, trace->opts.mmap_pages);
4737 .mmap_pages = UINT_MAX,
4777 OPT_CALLBACK('m', "mmap-pages", &trace.opts.mmap_pages, "pages",
4992 if (trace.opts.mmap_pages == UINT_MAX)
5008 trace.opts.mmap_pages = perf_event_mlock_kb_in_pages() * 4;
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/
Dperf-time-to-tsc.c51 .mmap_pages = UINT_MAX, in test__perf_time_to_tsc()
/kernel/linux/linux-5.10/drivers/net/xen-netback/
Dnetback.c122 return page_to_pfn(queue->mmap_pages[idx]); in idx_to_pfn()
349 queue->pages_to_map[mop-queue->tx_map_ops] = queue->mmap_pages[pending_idx]; in xenvif_tx_create_map_op()
715 get_page(queue->mmap_pages[pending_idx]); in xenvif_fill_frags()
1352 queue->mmap_pages[pending_idx]; in xenvif_tx_dealloc_action()
1494 &queue->mmap_pages[pending_idx], 1); in xenvif_idx_unmap()
Dcommon.h162 struct page *mmap_pages[MAX_PENDING_REQS]; member
Dinterface.c588 queue->mmap_pages); in xenvif_init_queue()
842 gnttab_free_pages(MAX_PENDING_REQS, queue->mmap_pages); in xenvif_deinit_queue()