/tools/perf/tests/ |
D | backward-ring-buffer.c | 62 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()
|
D | perf-record.c | 52 .mmap_pages = 256, in test__PERF_RECORD() 148 err = evlist__mmap(evlist, opts.mmap_pages); in test__PERF_RECORD()
|
D | bpf.c | 114 .mmap_pages = 256, in do_test() 166 err = evlist__mmap(evlist, opts.mmap_pages); in do_test()
|
D | openat-syscall-tp-fields.c | 34 .mmap_pages = 256, in test__syscall_openat_tp_fields()
|
D | keep-tracking.c | 67 .mmap_pages = UINT_MAX, in test__keep_tracking()
|
D | perf-time-to-tsc.c | 49 .mmap_pages = UINT_MAX, in test__perf_time_to_tsc()
|
D | switch-tracking.c | 330 .mmap_pages = UINT_MAX, in test__switch_tracking()
|
D | code-reading.c | 549 .mmap_pages = UINT_MAX, in do_test_code_reading()
|
/tools/perf/arch/x86/util/ |
D | intel-bts.c | 157 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()
|
D | intel-pt.c | 687 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()
|
/tools/perf/util/ |
D | record.h | 56 unsigned int mmap_pages; member
|
D | evlist.h | 177 int __evlist__parse_mmap_pages(unsigned int *mmap_pages, const char *str);
|
D | evlist.c | 911 int __evlist__parse_mmap_pages(unsigned int *mmap_pages, const char *str) in __evlist__parse_mmap_pages() argument 925 *mmap_pages = pages; in __evlist__parse_mmap_pages()
|
/tools/perf/arch/arm64/util/ |
D | arm-spe.c | 124 if (opts->mmap_pages == UINT_MAX) in arm_spe_recording_options() 125 opts->mmap_pages = KiB(256) / page_size; in arm_spe_recording_options()
|
/tools/perf/arch/arm/util/ |
D | cs-etm.c | 352 if (opts->mmap_pages == UINT_MAX) in cs_etm_recording_options() 353 opts->mmap_pages = KiB(256) / page_size; in cs_etm_recording_options() 356 opts->mmap_pages == UINT_MAX) { in cs_etm_recording_options() 357 opts->mmap_pages = KiB(256) / page_size; in cs_etm_recording_options() 404 if (opts->mmap_pages == UINT_MAX) in cs_etm_recording_options() 405 opts->mmap_pages = KiB(256) / page_size; in cs_etm_recording_options()
|
/tools/perf/bench/ |
D | evlist-open-close.c | 30 .mmap_pages = UINT_MAX, 118 err = evlist__mmap(evlist, opts.mmap_pages); in bench__do_evlist_open_close()
|
/tools/perf/ |
D | builtin-record.c | 478 flush_max = evlist__mmap_size(opts->mmap_pages); in record__mmap_flush_parse() 854 if (evlist__mmap_ex(evlist, opts->mmap_pages, in record__mmap_evlist() 865 opts->mmap_pages, opts->auxtrace_mmap_pages); in record__mmap_evlist() 2224 unsigned int mmap_pages; in record__parse_mmap_pages() local 2239 ret = __evlist__parse_mmap_pages(&mmap_pages, s); in record__parse_mmap_pages() 2242 opts->mmap_pages = mmap_pages; in record__parse_mmap_pages() 2250 ret = __evlist__parse_mmap_pages(&mmap_pages, p + 1); in record__parse_mmap_pages() 2254 opts->auxtrace_mmap_pages = mmap_pages; in record__parse_mmap_pages() 2272 u64 wakeup_size = evlist__mmap_size(rec->opts.mmap_pages); in switch_output_size_warn() 2407 .mmap_pages = UINT_MAX,
|
D | builtin-kvm.c | 1065 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() 1397 kvm->opts.mmap_pages = 512; in kvm_events_live()
|
D | builtin-top.c | 1055 if (evlist__mmap(evlist, opts->mmap_pages) < 0) { in perf_top__start_counters() 1420 .mmap_pages = UINT_MAX, in cmd_top() 1465 OPT_CALLBACK('m', "mmap-pages", &opts->mmap_pages, "pages", in cmd_top()
|
D | builtin-trace.c | 4067 err = evlist__mmap(evlist, trace->opts.mmap_pages); 4774 .mmap_pages = UINT_MAX, 4814 OPT_CALLBACK('m', "mmap-pages", &trace.opts.mmap_pages, "pages", 5030 if (trace.opts.mmap_pages == UINT_MAX) 5046 trace.opts.mmap_pages = perf_event_mlock_kb_in_pages() * 4;
|