Lines Matching defs:sid
352 // or up to the provided epoch/sid (whichever is earlier)
355 void TraceReplay(Trace *trace, TracePart *last, Event *last_pos, Sid sid,
375 ev_sid = static_cast<Sid>(ev->sid);
377 if (ev_sid == sid && ev_epoch > epoch)
428 // Replays the trace of slot sid up to the target event identified
432 bool RestoreStack(EventType type, Sid sid, Epoch epoch, uptr addr, uptr size,
438 DPrintf2("RestoreStack: sid=%u@%u addr=0x%zx/%zu typ=%x\n",
439 static_cast<int>(sid), static_cast<int>(epoch), addr, size,
443 TidSlot *slot = &ctx->slots[static_cast<uptr>(sid)];
487 trace, last_part, last_pos, sid, epoch,
496 bool match = ev_sid == sid && ev_epoch == epoch;
586 // TraceReplay already extracted sid/epoch from it,
705 return last.sid() == old.sid() && last.epoch() == old.epoch();
766 Lock slot_lock(&ctx->slots[static_cast<uptr>(s[1].sid())].mtx);
771 if (!RestoreStack(EventType::kAccessExt, s[1].sid(), s[1].epoch(), addr1,
819 s[1].epoch() <= thr->last_sleep_clock.Get(s[1].sid()))