Lines Matching defs:part
9 // This file is a part of ThreadSanitizer (TSan), a race detector.
88 // We are going to use only a small part of the trace with the default
90 // Release the unused part.
581 auto *part = trace->parts.Back();
582 DPrintf("TraceSwitchPart part=%p pos=%p\n", part, pos);
583 if (part) {
584 // We can get here when we still have space in the current trace part.
586 // the part. Check if we are indeed at the end of the current part or not,
588 Event *end = &part->events[TracePart::kSize];
589 DCHECK_GE(pos, &part->events[0]);
599 // won't detect trace part end.
610 CHECK(part);
612 reinterpret_cast<uptr>(&part->events[0]));
616 part = new (MmapOrDie(sizeof(TracePart), "TracePart")) TracePart();
617 part->trace = trace;
621 trace->parts.PushBack(part);
623 reinterpret_cast<uptr>(&part->events[0]));
625 // Make this part self-sufficient by restoring the current stack