Lines Matching defs:tid
86 static struct thread_stat *thread_stat_find(u32 tid)
94 if (st->tid == tid)
96 else if (tid < st->tid)
115 if (new->tid < p->tid)
117 else if (new->tid > p->tid)
127 static struct thread_stat *thread_stat_findnew_after_first(u32 tid)
131 st = thread_stat_find(tid);
141 st->tid = tid;
149 static struct thread_stat *thread_stat_findnew_first(u32 tid);
150 static struct thread_stat *(*thread_stat_findnew)(u32 tid) =
153 static struct thread_stat *thread_stat_findnew_first(u32 tid)
162 st->tid = tid;
627 static int get_key_by_aggr_mode_simple(u64 *key, u64 addr, u32 tid)
634 *key = tid;
653 return get_key_by_aggr_mode_simple(key, addr, sample->tid);
668 ret = get_key_by_aggr_mode_simple(&key, addr, sample->tid);
676 ts = thread_stat_findnew(sample->tid);
743 ret = get_key_by_aggr_mode_simple(&key, addr, sample->tid);
751 ts = thread_stat_findnew(sample->tid);
808 ret = get_key_by_aggr_mode_simple(&key, addr, sample->tid);
816 ts = thread_stat_findnew(sample->tid);
866 ret = get_key_by_aggr_mode_simple(&key, addr, sample->tid);
874 ts = thread_stat_findnew(sample->tid);
1175 ts = thread_stat_findnew(sample->tid);
1238 ts = thread_stat_find(sample->tid);
1396 /* st->addr contains tid of thread */
1438 t = perf_session__findnew(session, st->tid);
1439 fprintf(lock_output, "%10d: %s\n", st->tid, thread__comm_str(t));
1531 sample->tid);
2520 OPT_STRING(0, "tid", &target.tid, "tid",