Lines Matching refs:tid
822 printf(" ... pid %d woke up %s/%d\n", sample->tid, comm, pid);
825 waker = register_pid(sched, sample->tid, "<unknown>");
885 event->fork.tid);
897 printf("... parent: %s/%d\n", thread__comm_str(parent), parent->tid);
898 printf("... child: %s/%d\n", thread__comm_str(child), child->tid);
901 register_pid(sched, parent->tid, thread__comm_str(parent));
902 register_pid(sched, child->tid, thread__comm_str(child));
1297 register_pid(sched, migrant->tid, thread__comm_str(migrant));
1343 ret = printf(" %s:%d ", thread__comm_str(work_list->thread), work_list->thread->tid);
1363 if (l->thread->tid < r->thread->tid)
1365 if (l->thread->tid > r->thread->tid)
1512 map__findnew_thread(struct perf_sched *sched, struct machine *machine, pid_t pid, pid_t tid)
1514 struct thread *thread = machine__findnew_thread(machine, pid, tid);
1522 if (thread_map__has(sched->map.color_pids, tid))
1647 if (new_shortname || tr->comm_changed || (verbose > 0 && sched_in->tid)) {
1654 tr->shortname, thread__comm_str(sched_in), sched_in->tid);
1772 thread = machine__find_thread(machine, sample->pid, sample->tid);
1911 pid_t tid = thread->tid;
1918 else if (tid != pid)
1919 n = scnprintf(str, sizeof(str), "%s[%d/%d]", comm, tid, pid);
1922 n = scnprintf(str, sizeof(str), "%s[%d]", comm, tid);
1964 "[tid/pid]", "(msec)", "(msec)", "(msec)");
1995 if (thread->tid == 0)
2030 c = (thread->tid == 0) ? 'i' : 's';
2057 if (thread->tid == 0)
2313 /* there were samples with tid 0 but non-zero pid */
2315 sample->tid ?: sample->pid);
2317 pr_debug("Failed to get thread for tid %d. skipping sample.\n",
2318 sample->tid);
2379 thread = machine__findnew_thread(machine, sample->pid, sample->tid);
2462 thread = machine__findnew_thread(machine, sample->pid, sample->tid);
2589 if (!sched->idle_hist || thread->tid == 0) {
2597 BUG_ON(thread->tid != 0);
3499 OPT_STRING('t', "tid", &symbol_conf.tid_list_str, "tid[,tid...]",