Home
last modified time | relevance | path

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

/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.c114 .mmap_pages = 256, in do_test()
166 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()
Dperf-time-to-tsc.c49 .mmap_pages = UINT_MAX, in test__perf_time_to_tsc()
Dswitch-tracking.c330 .mmap_pages = UINT_MAX, in test__switch_tracking()
Dcode-reading.c549 .mmap_pages = UINT_MAX, in do_test_code_reading()
/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()
/tools/perf/util/
Drecord.h56 unsigned int mmap_pages; member
Devlist.h177 int __evlist__parse_mmap_pages(unsigned int *mmap_pages, const char *str);
Devlist.c911 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/
Darm-spe.c124 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/
Dcs-etm.c352 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/
Devlist-open-close.c30 .mmap_pages = UINT_MAX,
118 err = evlist__mmap(evlist, opts.mmap_pages); in bench__do_evlist_open_close()
/tools/perf/
Dbuiltin-record.c478 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,
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()
1397 kvm->opts.mmap_pages = 512; in kvm_events_live()
Dbuiltin-top.c1055 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()
Dbuiltin-trace.c4067 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;