Lines Matching refs:tid
62 struct perf_thread_map *thread_map__new_by_tid(pid_t tid)
67 perf_thread_map__set_pid(threads, 0, tid);
171 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid)
176 if (tid == -1 && uid != UINT_MAX)
179 return thread_map__new_by_tid(tid);
248 pid_t tid, prev_tid = INT_MAX;
254 /* perf-stat expects threads to be generated even if tid not given */
263 tid = strtol(pos->s, &end_ptr, 10);
265 if (tid == INT_MIN || tid == INT_MAX ||
269 if (tid == prev_tid)
279 perf_thread_map__set_pid(threads, ntasks - 1, tid);
293 struct perf_thread_map *thread_map__new_str(const char *pid, const char *tid,
299 if (!tid && uid != UINT_MAX)
305 return thread_map__new_by_tid_str(tid);