Lines Matching refs:num_cpu
71 int num_cpu; member
294 for (i = 0; i < etm->num_cpu; i++) { in get_cpu_data()
869 for (i = 0; i < aux->num_cpu; i++) in cs_etm__free()
1028 int decoders = formatted ? etm->num_cpu : 1; in cs_etm__alloc_queue()
3128 static bool cs_etm__has_virtual_ts(u64 **metadata, int num_cpu) in cs_etm__has_virtual_ts() argument
3132 for (j = 0; j < num_cpu; j++) { in cs_etm__has_virtual_ts()
3151 static int cs_etm__map_trace_ids_metadata(int num_cpu, u64 **metadata) in cs_etm__map_trace_ids_metadata() argument
3157 for (i = 0; i < num_cpu; i++) { in cs_etm__map_trace_ids_metadata()
3184 static int cs_etm__clear_unused_trace_ids_metadata(int num_cpu, u64 **metadata) in cs_etm__clear_unused_trace_ids_metadata() argument
3189 for (i = 0; i < num_cpu; i++) { in cs_etm__clear_unused_trace_ids_metadata()
3218 int num_cpu; in cs_etm__process_auxtrace_info_full() local
3236 num_cpu = ptr[CS_PMU_TYPE_CPUS] & 0xffffffff; in cs_etm__process_auxtrace_info_full()
3237 metadata = zalloc(sizeof(*metadata) * num_cpu); in cs_etm__process_auxtrace_info_full()
3252 for (j = 0; j < num_cpu; j++) { in cs_etm__process_auxtrace_info_full()
3319 etm->num_cpu = num_cpu; in cs_etm__process_auxtrace_info_full()
3326 etm->has_virtual_ts = cs_etm__has_virtual_ts(metadata, num_cpu); in cs_etm__process_auxtrace_info_full()
3389 err = cs_etm__clear_unused_trace_ids_metadata(num_cpu, metadata); in cs_etm__process_auxtrace_info_full()
3392 err = cs_etm__map_trace_ids_metadata(num_cpu, metadata); in cs_etm__process_auxtrace_info_full()
3411 for (j = 0; j < num_cpu; j++) in cs_etm__process_auxtrace_info_full()