Home
last modified time | relevance | path

Searched refs:current_tid (Results 1 – 2 of 2) sorted by relevance

/tools/perf/util/
Dmachine.c59 machine->current_tid = NULL; in machine__init()
122 zfree(&machine->current_tid); in machine__exit()
1540 if (cpu < 0 || cpu >= MAX_NR_CPUS || !machine->current_tid) in machine__get_current_tid()
1543 return machine->current_tid[cpu]; in machine__get_current_tid()
1554 if (!machine->current_tid) { in machine__set_current_tid()
1557 machine->current_tid = calloc(MAX_NR_CPUS, sizeof(pid_t)); in machine__set_current_tid()
1558 if (!machine->current_tid) in machine__set_current_tid()
1561 machine->current_tid[i] = -1; in machine__set_current_tid()
1570 machine->current_tid[cpu] = tid; in machine__set_current_tid()
Dmachine.h42 pid_t *current_tid; member