Lines Matching refs:tids
65 pid_t *tids; member
98 if (!switch_tracking->tids) { in check_cpu()
99 switch_tracking->tids = calloc(nr, sizeof(pid_t)); in check_cpu()
100 if (!switch_tracking->tids) in check_cpu()
103 switch_tracking->tids[i] = -1; in check_cpu()
111 addr = realloc(switch_tracking->tids, nr * sizeof(pid_t)); in check_cpu()
114 switch_tracking->tids = addr; in check_cpu()
116 switch_tracking->tids[i] = -1; in check_cpu()
152 if (switch_tracking->tids[cpu] != -1 && in process_sample_event()
153 switch_tracking->tids[cpu] != prev_tid) { in process_sample_event()
157 switch_tracking->tids[cpu] = next_tid; in process_sample_event()
329 struct switch_tracking switch_tracking = { .tids = NULL, }; in test__switch_tracking()
551 zfree(&switch_tracking.tids); in test__switch_tracking()