Lines Matching refs:pid
9 values->pid = malloc(values->threads_max * sizeof(*values->pid)); in perf_read_values_init()
12 if (!values->pid || !values->tid || !values->value) in perf_read_values_init()
36 zfree(&values->pid); in perf_read_values_destroy()
47 values->pid = realloc(values->pid, in perf_read_values__enlarge_threads()
48 values->threads_max * sizeof(*values->pid)); in perf_read_values__enlarge_threads()
53 if (!values->pid || !values->tid || !values->value) in perf_read_values__enlarge_threads()
58 u32 pid, u32 tid) in perf_read_values__findnew_thread() argument
63 if (values->pid[i] == pid && values->tid[i] == tid) in perf_read_values__findnew_thread()
70 values->pid[i] = pid; in perf_read_values__findnew_thread()
119 u32 pid, u32 tid, in perf_read_values_add_value() argument
124 tindex = perf_read_values__findnew_thread(values, pid, tid); in perf_read_values_add_value()
147 width = snprintf(NULL, 0, "%d", values->pid[i]); in perf_read_values__display_pretty()
166 fprintf(fp, " %*d %*d", pidwidth, values->pid[i], in perf_read_values__display_pretty()
189 width = snprintf(NULL, 0, "%d", values->pid[i]); in perf_read_values__display_raw()
219 pidwidth, values->pid[i], in perf_read_values__display_raw()