Lines Matching +full:1 +full:kib
28 #define KiB(x) ((x) * 1024) macro
73 * snapshot size is specified, then the default is 4MiB for privileged users, 128KiB for in arm_spe_snapshot_resolve_auxtrace_defaults()
76 * The default auxtrace mmap size is 4MiB/page_size for privileged users, 128KiB for in arm_spe_snapshot_resolve_auxtrace_defaults()
78 * will be reduced from the default 512KiB/page_size to 256KiB/page_size, otherwise the in arm_spe_snapshot_resolve_auxtrace_defaults()
89 opts->auxtrace_mmap_pages = KiB(128) / page_size; in arm_spe_snapshot_resolve_auxtrace_defaults()
91 opts->mmap_pages = KiB(256) / page_size; in arm_spe_snapshot_resolve_auxtrace_defaults()
94 opts->mmap_pages = KiB(256) / page_size; in arm_spe_snapshot_resolve_auxtrace_defaults()
125 bool privileged = perf_event_paranoid_check(-1); in arm_spe_recording_options()
184 opts->auxtrace_mmap_pages = KiB(128) / page_size; in arm_spe_recording_options()
186 opts->mmap_pages = KiB(256) / page_size; in arm_spe_recording_options()
193 size_t min_sz = KiB(8); in arm_spe_recording_options()
219 "ts_enable", 1); in arm_spe_recording_options()
246 tracking_evsel->core.attr.sample_period = 1; in arm_spe_recording_options()
255 tracking_evsel->core.attr.context_switch = 1; in arm_spe_recording_options()
271 return -1; in arm_spe_parse_snapshot_options()
320 new_cnt = idx + 1; in arm_spe_alloc_wrapped_array()
514 &attr->sample_period) != 1) { in arm_spe_pmu_default_config()