Lines Matching refs:tid
16 values->tid = malloc(values->threads_max * sizeof(*values->tid)); in perf_read_values_init()
18 if (!values->pid || !values->tid || !values->value) { in perf_read_values_init()
42 zfree(&values->tid); in perf_read_values_init()
58 zfree(&values->tid); in perf_read_values_destroy()
69 *ntid = realloc(values->tid, nthreads_max * sizeof(*values->tid)), in perf_read_values__enlarge_threads()
77 values->tid = ntid; in perf_read_values__enlarge_threads()
89 u32 pid, u32 tid) in perf_read_values__findnew_thread() argument
94 if (values->pid[i] == pid && values->tid[i] == tid) in perf_read_values__findnew_thread()
111 values->tid[i] = tid; in perf_read_values__findnew_thread()
185 u32 pid, u32 tid, in perf_read_values_add_value() argument
190 tindex = perf_read_values__findnew_thread(values, pid, tid); in perf_read_values_add_value()
223 width = snprintf(NULL, 0, "%d", values->tid[i]); in perf_read_values__display_pretty()
240 tidwidth, values->tid[i]); in perf_read_values__display_pretty()
265 width = snprintf(NULL, 0, "%d", values->tid[i]); in perf_read_values__display_raw()
293 tidwidth, values->tid[i], in perf_read_values__display_raw()