Lines Matching refs:num_cpu
71 int num_cpu; member
453 for (i = 0; i < etm->num_cpu; i++) { in get_cpu_data_idx()
1006 for (i = 0; i < aux->num_cpu; i++) in cs_etm__free()
3200 static bool cs_etm__has_virtual_ts(u64 **metadata, int num_cpu) in cs_etm__has_virtual_ts() argument
3204 for (j = 0; j < num_cpu; j++) { in cs_etm__has_virtual_ts()
3223 static int cs_etm__map_trace_ids_metadata(struct cs_etm_auxtrace *etm, int num_cpu, in cs_etm__map_trace_ids_metadata() argument
3230 for (i = 0; i < num_cpu; i++) { in cs_etm__map_trace_ids_metadata()
3346 int num_cpu, max_cpu = 0; in cs_etm__process_auxtrace_info_full() local
3355 num_cpu = ptr[CS_PMU_TYPE_CPUS] & 0xffffffff; in cs_etm__process_auxtrace_info_full()
3356 metadata = zalloc(sizeof(*metadata) * num_cpu); in cs_etm__process_auxtrace_info_full()
3369 for (int j = 0; j < num_cpu; j++) { in cs_etm__process_auxtrace_info_full()
3445 etm->num_cpu = num_cpu; in cs_etm__process_auxtrace_info_full()
3464 etm->has_virtual_ts = cs_etm__has_virtual_ts(metadata, num_cpu); in cs_etm__process_auxtrace_info_full()
3533 err = cs_etm__map_trace_ids_metadata(etm, num_cpu, metadata); in cs_etm__process_auxtrace_info_full()
3552 for (int j = 0; j < num_cpu; j++) in cs_etm__process_auxtrace_info_full()