Searched refs:switch_tracking (Results 1 – 1 of 1) sorted by relevance
51 struct switch_tracking { struct62 static int check_comm(struct switch_tracking *switch_tracking, in check_comm() argument69 if (switch_tracking->comm_seen[nr]) { in check_comm()73 switch_tracking->comm_seen[nr] = 1; in check_comm()80 static int check_cpu(struct switch_tracking *switch_tracking, int cpu) in check_cpu() argument87 if (!switch_tracking->tids) { in check_cpu()88 switch_tracking->tids = calloc(nr, sizeof(pid_t)); in check_cpu()89 if (!switch_tracking->tids) in check_cpu()92 switch_tracking->tids[i] = -1; in check_cpu()93 switch_tracking->nr_tids = nr; in check_cpu()[all …]