Home | History | Annotate | Download | only in rtl

Lines Matching refs:trace

69   // Map thread trace when context is created.
71 internal_snprintf(name, sizeof(name), "trace %u", tid);
74 internal_snprintf(name, sizeof(name), "trace header %u", tid);
75 MapThreadTrace(hdr, sizeof(Trace), name);
76 new((void*)hdr) Trace();
77 // We are going to use only a small part of the trace with the default
78 // value of history_size. However, the constructor writes to the whole trace.
80 uptr hdr_end = hdr + sizeof(Trace);
83 if (hdr_end < hdr + sizeof(Trace))
84 UnmapOrDie((void*)hdr_end, hdr + sizeof(Trace) - hdr_end);
275 DPrintf("#0: Mapping trace at %p-%p(0x%zx)\n", addr, addr + size, size);
281 Printf("FATAL: ThreadSanitizer can not mmap thread trace (%p/%p->%p)\n",
499 Trace *thr_trace = ThreadTrace(thr->tid);
501 unsigned trace = (thr->fast_state.epoch() / kTracePartSize) % TraceParts();
502 TraceHeader *hdr = &thr_trace->headers[trace];
509 Trace *ThreadTrace(int tid) {
510 return (Trace*)GetThreadTraceHeader(tid);
928 // stack unwinding during trace switch (which presumably must be faster).