Searched refs:TracePart (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_trace.h | 172 struct TracePart : TraceHeader { struct 185 TracePart() {} in TracePart() argument 187 static_assert(sizeof(TracePart) == TracePart::kByteSize, "bad TracePart size"); 191 IList<TraceHeader, &TraceHeader::trace_parts, TracePart> parts; 193 TracePart* local_head;
|
H A D | tsan_rtl.cpp | 80 static TracePart* TracePartAlloc(ThreadState* thr) { in TracePartAlloc() 81 TracePart* part = nullptr; in TracePartAlloc() 94 TracePart* part1 = trace1->parts.PopFront(); in TracePartAlloc() 114 part = new (MmapOrDie(sizeof(*part), "TracePart")) TracePart(); in TracePartAlloc() 118 static void TracePartFree(TracePart* part) SANITIZER_REQUIRES(ctx->slot_mtx) { in TracePartFree() 173 reinterpret_cast<uptr>(&part->events[TracePart::kSize])); in DoResetImpl() 326 TracePart* part = nullptr; in SlotDetachImpl() 916 DCHECK_EQ(reinterpret_cast<uptr>(pos + 1) & TracePart::kAlignment, 0); in TraceSkipGap() 926 Event* end = &part->events[TracePart::kSize]; in TraceSkipGap() 930 if ((reinterpret_cast<uptr>(pos) & TracePart::kAlignment) == in TraceSkipGap() [all …]
|
H A D | tsan_rtl.h | 372 IList<TraceHeader, &TraceHeader::global, TracePart> trace_part_recycle 710 TracePart *current = thr->tctx->trace.parts.Back(); in TraceAcquire() 713 DCHECK_LE(pos, ¤t->events[TracePart::kSize]); in TraceAcquire() 722 if (UNLIKELY(((uptr)(pos + 1) & TracePart::kAlignment) == 0)) in TraceAcquire() 730 DCHECK_LE(evp + 1, &thr->tctx->trace.parts.Back()->events[TracePart::kSize]); in TraceRelease()
|
H A D | tsan_rtl_report.cpp | 355 void TraceReplay(Trace *trace, TracePart *last, Event *last_pos, Sid sid, in TraceReplay() 357 TracePart *part = trace->parts.Front(); in TraceReplay() 365 Event *end = &part->events[TracePart::kSize - 1]; in TraceReplay() 462 TracePart *first_part; in RestoreStack() 463 TracePart *last_part; in RestoreStack()
|
H A D | tsan_defs.h | 166 struct TracePart;
|
H A D | tsan_platform_linux.cpp | 130 trace_mem = ctx->trace_part_total_allocated * sizeof(TracePart); in WriteMemoryProfile()
|