Searched refs:switch_tracking (Results 1 – 1 of 1) sorted by relevance
61 struct switch_tracking { struct72 static int check_comm(struct switch_tracking *switch_tracking, in check_comm() argument79 if (switch_tracking->comm_seen[nr]) { in check_comm()83 switch_tracking->comm_seen[nr] = 1; in check_comm()90 static int check_cpu(struct switch_tracking *switch_tracking, int cpu) in check_cpu() argument97 if (!switch_tracking->tids) { in check_cpu()98 switch_tracking->tids = calloc(nr, sizeof(pid_t)); in check_cpu()99 if (!switch_tracking->tids) in check_cpu()102 switch_tracking->tids[i] = -1; in check_cpu()103 switch_tracking->nr_tids = nr; in check_cpu()[all …]