Lines Matching refs:mop
142 static void PrintMop(const ReportMop *mop, bool first) {
146 if (mop->external_tag == kExternalTagNone) {
148 MopDesc(first, mop->write, mop->atomic), mop->size,
149 (void *)mop->addr, thread_name(thrbuf, mop->tid));
151 const char *object_type = GetObjectTypeFromTag(mop->external_tag);
155 ExternalMopDesc(first, mop->write), object_type,
156 (void *)mop->addr, thread_name(thrbuf, mop->tid));
158 PrintMutexSet(mop->mset);
161 PrintStack(mop->stack);
381 static void PrintMop(const ReportMop *mop, bool first) {
384 (first ? (mop->write ? "Write" : "Read")
385 : (mop->write ? "Previous write" : "Previous read")),
386 reinterpret_cast<void *>(mop->addr));
387 if (mop->tid == kMainGoroutineId)
390 Printf("goroutine %d:\n", mop->tid);
391 PrintStack(mop->stack);