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);
170 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid)
175 if (tid == -1 && uid != UINT_MAX)
178 return thread_map__new_by_tid(tid);
247 pid_t tid, prev_tid = INT_MAX;
253 /* perf-stat expects threads to be generated even if tid not given */
262 tid = strtol(pos->s, &end_ptr, 10);
264 if (tid == INT_MIN || tid == INT_MAX ||
268 if (tid == prev_tid)
278 perf_thread_map__set_pid(threads, ntasks - 1, tid);
292 struct perf_thread_map *thread_map__new_str(const char *pid, const char *tid,
298 if (!tid && uid != UINT_MAX)
304 return thread_map__new_by_tid_str(tid);