Home | History | Annotate | Download | only in rtl

Lines Matching refs:tid

53 static ThreadContextBase *CreateThreadContext(u32 tid) {
55 MapThreadTrace(GetThreadTrace(tid), TraceSize() * sizeof(Event));
56 MapThreadTrace(GetThreadTraceHeader(tid), sizeof(Trace));
57 new(ThreadTrace(tid)) Trace();
59 return new(mem) ThreadContext(tid);
81 ThreadState::ThreadState(Context *ctx, int tid, int unique_id, u64 epoch,
84 : fast_state(tid, epoch)
93 , tid(tid)
234 int tid = ThreadCreate(thr, 0, 0, true);
235 CHECK_EQ(tid, 0);
236 ThreadStart(thr, tid, internal_getpid());
317 Trace *thr_trace = ThreadTrace(thr->tid);
327 Trace *ThreadTrace(int tid) {
328 return (Trace*)GetThreadTraceHeader(tid);
332 Event *events = (Event*)GetThreadTrace(thr->tid);
493 (int)thr->fast_state.tid(), (void*)pc, (void*)addr,
635 DPrintf2("#%d: FuncEntry %p\n", (int)thr->fast_state.tid(), (void*)pc);
665 DPrintf2("#%d: FuncExit\n", (int)thr->fast_state.tid());
677 DPrintf("#%d: IgnoreCtl(%d, %d)\n", thr->tid, write, begin);