Lines Matching +full:1 +full:kib
29 #define KiB(x) ((x) * 1024) macro
74 * snapshot size is specified, then the default is 4MiB for privileged users, 128KiB for in arm_spe_snapshot_resolve_auxtrace_defaults()
77 * The default auxtrace mmap size is 4MiB/page_size for privileged users, 128KiB for in arm_spe_snapshot_resolve_auxtrace_defaults()
79 * will be reduced from the default 512KiB/page_size to 256KiB/page_size, otherwise the in arm_spe_snapshot_resolve_auxtrace_defaults()
90 opts->auxtrace_mmap_pages = KiB(128) / page_size; in arm_spe_snapshot_resolve_auxtrace_defaults()
92 opts->mmap_pages = KiB(256) / page_size; in arm_spe_snapshot_resolve_auxtrace_defaults()
95 opts->mmap_pages = KiB(256) / page_size; in arm_spe_snapshot_resolve_auxtrace_defaults()
129 &sample_period) != 1) { in arm_spe_pmu__sample_period()
156 evsel__set_config_if_unset(evsel->pmu, evsel, "ts_enable", 1); in arm_spe_setup_evsel()
183 bool privileged = perf_event_paranoid_check(-1); in arm_spe_recording_options()
238 opts->auxtrace_mmap_pages = KiB(128) / page_size; in arm_spe_recording_options()
240 opts->mmap_pages = KiB(256) / page_size; in arm_spe_recording_options()
247 size_t min_sz = KiB(8); in arm_spe_recording_options()
274 tracking_evsel->core.attr.sample_period = 1; in arm_spe_recording_options()
283 tracking_evsel->core.attr.context_switch = 1; in arm_spe_recording_options()
299 return -1; in arm_spe_parse_snapshot_options()
356 new_cnt = idx + 1; in arm_spe_alloc_wrapped_array()