Searched refs:current_tid (Results 1 – 2 of 2) sorted by relevance
121 machine->current_tid = NULL; in machine__init()220 zfree(&machine->current_tid); in machine__exit()2593 if (cpu < 0 || cpu >= nr_cpus || !machine->current_tid) in machine__get_current_tid()2596 return machine->current_tid[cpu]; in machine__get_current_tid()2608 if (!machine->current_tid) { in machine__set_current_tid()2611 machine->current_tid = calloc(nr_cpus, sizeof(pid_t)); in machine__set_current_tid()2612 if (!machine->current_tid) in machine__set_current_tid()2615 machine->current_tid[i] = -1; in machine__set_current_tid()2624 machine->current_tid[cpu] = tid; in machine__set_current_tid()
56 pid_t *current_tid; member