Searched refs:switch_tracking (Results 1 – 1 of 1) sorted by relevance
53 struct switch_tracking { struct64 static int check_comm(struct switch_tracking *switch_tracking, in check_comm() argument71 if (switch_tracking->comm_seen[nr]) { in check_comm()75 switch_tracking->comm_seen[nr] = 1; in check_comm()82 static int check_cpu(struct switch_tracking *switch_tracking, int cpu) in check_cpu() argument89 if (!switch_tracking->tids) { in check_cpu()90 switch_tracking->tids = calloc(nr, sizeof(pid_t)); in check_cpu()91 if (!switch_tracking->tids) in check_cpu()94 switch_tracking->tids[i] = -1; in check_cpu()95 switch_tracking->nr_tids = nr; in check_cpu()[all …]