Home
last modified time | relevance | path

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

/linux/tools/perf/arch/arm64/util/
H A Darm-spe.c86 if (!opts->auxtrace_snapshot_size && !opts->auxtrace_mmap_pages) { in arm_spe_snapshot_resolve_auxtrace_defaults()
88 opts->auxtrace_mmap_pages = MiB(4) / page_size; in arm_spe_snapshot_resolve_auxtrace_defaults()
90 opts->auxtrace_mmap_pages = KiB(128) / page_size; in arm_spe_snapshot_resolve_auxtrace_defaults()
94 } else if (!opts->auxtrace_mmap_pages && !privileged && opts->mmap_pages == UINT_MAX) { in arm_spe_snapshot_resolve_auxtrace_defaults()
103 opts->auxtrace_snapshot_size = opts->auxtrace_mmap_pages * (size_t)page_size; in arm_spe_snapshot_resolve_auxtrace_defaults()
109 if (!opts->auxtrace_mmap_pages) { in arm_spe_snapshot_resolve_auxtrace_defaults()
113 opts->auxtrace_mmap_pages = roundup_pow_of_two(sz); in arm_spe_snapshot_resolve_auxtrace_defaults()
211 if (!opts->auxtrace_snapshot_size || !opts->auxtrace_mmap_pages) in arm_spe_recording_options()
217 if (opts->auxtrace_snapshot_size > opts->auxtrace_mmap_pages * (size_t)page_size) { in arm_spe_recording_options()
220 opts->auxtrace_mmap_pages * (size_t)page_size); in arm_spe_recording_options()
[all …]
H A Dhisi-ptt.c71 if (opts->full_auxtrace && !opts->auxtrace_mmap_pages) { in hisi_ptt_set_auxtrace_mmap_page()
73 opts->auxtrace_mmap_pages = MiB(16) / page_size; in hisi_ptt_set_auxtrace_mmap_page()
75 opts->auxtrace_mmap_pages = KiB(128) / page_size; in hisi_ptt_set_auxtrace_mmap_page()
82 if (opts->auxtrace_mmap_pages) { in hisi_ptt_set_auxtrace_mmap_page()
83 size_t sz = opts->auxtrace_mmap_pages * (size_t)page_size; in hisi_ptt_set_auxtrace_mmap_page()
/linux/tools/perf/arch/x86/util/
H A Dintel-bts.c153 if (!opts->auxtrace_snapshot_size && !opts->auxtrace_mmap_pages) { in intel_bts_recording_options()
155 opts->auxtrace_mmap_pages = MiB(4) / page_size; in intel_bts_recording_options()
157 opts->auxtrace_mmap_pages = KiB(128) / page_size; in intel_bts_recording_options()
161 } else if (!opts->auxtrace_mmap_pages && !privileged && in intel_bts_recording_options()
167 opts->auxtrace_mmap_pages * (size_t)page_size; in intel_bts_recording_options()
168 if (!opts->auxtrace_mmap_pages) { in intel_bts_recording_options()
172 opts->auxtrace_mmap_pages = roundup_pow_of_two(sz); in intel_bts_recording_options()
175 opts->auxtrace_mmap_pages * (size_t)page_size) { in intel_bts_recording_options()
178 opts->auxtrace_mmap_pages * (size_t)page_size); in intel_bts_recording_options()
181 if (!opts->auxtrace_snapshot_size || !opts->auxtrace_mmap_pages) { in intel_bts_recording_options()
[all …]
H A Dintel-pt.c675 if (!opts->auxtrace_snapshot_size && !opts->auxtrace_mmap_pages) { in intel_pt_recording_options()
677 opts->auxtrace_mmap_pages = MiB(4) / page_size; in intel_pt_recording_options()
679 opts->auxtrace_mmap_pages = KiB(128) / page_size; in intel_pt_recording_options()
683 } else if (!opts->auxtrace_mmap_pages && !privileged && in intel_pt_recording_options()
689 opts->auxtrace_mmap_pages * (size_t)page_size; in intel_pt_recording_options()
690 if (!opts->auxtrace_mmap_pages) { in intel_pt_recording_options()
694 opts->auxtrace_mmap_pages = roundup_pow_of_two(sz); in intel_pt_recording_options()
697 opts->auxtrace_mmap_pages * (size_t)page_size) { in intel_pt_recording_options()
700 opts->auxtrace_mmap_pages * (size_t)page_size); in intel_pt_recording_options()
703 if (!opts->auxtrace_snapshot_size || !opts->auxtrace_mmap_pages) { in intel_pt_recording_options()
[all …]
/linux/tools/perf/arch/arm/util/
H A Dcs-etm.c360 !opts->auxtrace_mmap_pages) { in cs_etm_recording_options()
362 opts->auxtrace_mmap_pages = MiB(4) / page_size; in cs_etm_recording_options()
364 opts->auxtrace_mmap_pages = in cs_etm_recording_options()
369 } else if (!opts->auxtrace_mmap_pages && !privileged && in cs_etm_recording_options()
380 opts->auxtrace_mmap_pages * (size_t)page_size; in cs_etm_recording_options()
388 if (!opts->auxtrace_mmap_pages) { in cs_etm_recording_options()
392 opts->auxtrace_mmap_pages = roundup_pow_of_two(sz); in cs_etm_recording_options()
397 opts->auxtrace_mmap_pages * (size_t)page_size) { in cs_etm_recording_options()
400 opts->auxtrace_mmap_pages * (size_t)page_size); in cs_etm_recording_options()
406 !opts->auxtrace_mmap_pages) { in cs_etm_recording_options()
[all …]
/linux/tools/perf/arch/s390/util/
H A 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/tools/perf/util/
H A Drecord.h57 unsigned int auxtrace_mmap_pages; member
/linux/tools/perf/
H A Dbuiltin-record.c1308 opts->auxtrace_mmap_pages, in record__mmap_evlist()
1318 opts->mmap_pages, opts->auxtrace_mmap_pages); in record__mmap_evlist()
3145 opts->auxtrace_mmap_pages = mmap_pages; in record__parse_mmap_pages()