Searched refs:switch_tracking (Results 1 – 1 of 1) sorted by relevance
59 struct switch_tracking { struct70 static int check_comm(struct switch_tracking *switch_tracking, in check_comm() argument77 if (switch_tracking->comm_seen[nr]) { in check_comm()81 switch_tracking->comm_seen[nr] = 1; in check_comm()88 static int check_cpu(struct switch_tracking *switch_tracking, int cpu) in check_cpu() argument95 if (!switch_tracking->tids) { in check_cpu()96 switch_tracking->tids = calloc(nr, sizeof(pid_t)); in check_cpu()97 if (!switch_tracking->tids) in check_cpu()100 switch_tracking->tids[i] = -1; in check_cpu()101 switch_tracking->nr_tids = nr; in check_cpu()[all …]