Home
last modified time | relevance | path

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

/Linux-v5.15/tools/perf/arch/x86/util/
Dintel-bts.c152 if (!opts->auxtrace_snapshot_size && !opts->auxtrace_mmap_pages) { in intel_bts_recording_options()
154 opts->auxtrace_mmap_pages = MiB(4) / page_size; in intel_bts_recording_options()
156 opts->auxtrace_mmap_pages = KiB(128) / page_size; in intel_bts_recording_options()
160 } else if (!opts->auxtrace_mmap_pages && !privileged && in intel_bts_recording_options()
166 opts->auxtrace_mmap_pages * (size_t)page_size; in intel_bts_recording_options()
167 if (!opts->auxtrace_mmap_pages) { in intel_bts_recording_options()
171 opts->auxtrace_mmap_pages = roundup_pow_of_two(sz); in intel_bts_recording_options()
174 opts->auxtrace_mmap_pages * (size_t)page_size) { in intel_bts_recording_options()
177 opts->auxtrace_mmap_pages * (size_t)page_size); in intel_bts_recording_options()
180 if (!opts->auxtrace_snapshot_size || !opts->auxtrace_mmap_pages) { in intel_bts_recording_options()
[all …]
Dintel-pt.c682 if (!opts->auxtrace_snapshot_size && !opts->auxtrace_mmap_pages) { in intel_pt_recording_options()
684 opts->auxtrace_mmap_pages = MiB(4) / page_size; in intel_pt_recording_options()
686 opts->auxtrace_mmap_pages = KiB(128) / page_size; in intel_pt_recording_options()
690 } else if (!opts->auxtrace_mmap_pages && !privileged && in intel_pt_recording_options()
696 opts->auxtrace_mmap_pages * (size_t)page_size; in intel_pt_recording_options()
697 if (!opts->auxtrace_mmap_pages) { in intel_pt_recording_options()
701 opts->auxtrace_mmap_pages = roundup_pow_of_two(sz); in intel_pt_recording_options()
704 opts->auxtrace_mmap_pages * (size_t)page_size) { in intel_pt_recording_options()
707 opts->auxtrace_mmap_pages * (size_t)page_size); in intel_pt_recording_options()
710 if (!opts->auxtrace_snapshot_size || !opts->auxtrace_mmap_pages) { in intel_pt_recording_options()
[all …]
/Linux-v5.15/tools/perf/arch/arm/util/
Dcs-etm.c346 !opts->auxtrace_mmap_pages) { in cs_etm_recording_options()
348 opts->auxtrace_mmap_pages = MiB(4) / page_size; in cs_etm_recording_options()
350 opts->auxtrace_mmap_pages = in cs_etm_recording_options()
355 } else if (!opts->auxtrace_mmap_pages && !privileged && in cs_etm_recording_options()
366 opts->auxtrace_mmap_pages * (size_t)page_size; in cs_etm_recording_options()
374 if (!opts->auxtrace_mmap_pages) { in cs_etm_recording_options()
378 opts->auxtrace_mmap_pages = roundup_pow_of_two(sz); in cs_etm_recording_options()
383 opts->auxtrace_mmap_pages * (size_t)page_size) { in cs_etm_recording_options()
386 opts->auxtrace_mmap_pages * (size_t)page_size); in cs_etm_recording_options()
392 !opts->auxtrace_mmap_pages) { in cs_etm_recording_options()
[all …]
/Linux-v5.15/tools/perf/arch/arm64/util/
Darm-spe.c119 if (!opts->auxtrace_mmap_pages) { in arm_spe_recording_options()
121 opts->auxtrace_mmap_pages = MiB(4) / page_size; in arm_spe_recording_options()
123 opts->auxtrace_mmap_pages = KiB(128) / page_size; in arm_spe_recording_options()
130 if (opts->auxtrace_mmap_pages) { in arm_spe_recording_options()
131 size_t sz = opts->auxtrace_mmap_pages * (size_t)page_size; in arm_spe_recording_options()
/Linux-v5.15/tools/perf/arch/s390/util/
Dauxtrace.c64 if (!opts->auxtrace_mmap_pages) { in cpumsf_recording_options()
69 opts->auxtrace_mmap_pages = roundup_pow_of_two(pages); in cpumsf_recording_options()
/Linux-v5.15/tools/perf/util/
Drecord.h57 unsigned int auxtrace_mmap_pages; member
/Linux-v5.15/tools/perf/
Dbuiltin-record.c855 opts->auxtrace_mmap_pages, in record__mmap_evlist()
865 opts->mmap_pages, opts->auxtrace_mmap_pages); in record__mmap_evlist()
2254 opts->auxtrace_mmap_pages = mmap_pages; in record__parse_mmap_pages()