Lines Matching refs:Printf
124 Printf(" [failed to restore the stack]\n\n"); in PrintStack()
133 Printf("%s\n", res.data()); in PrintStack()
135 Printf("\n"); in PrintStack()
141 Printf(" (mutexes:"); in PrintMutexSet()
143 Printf(" %s M%llu", m.write ? "write" : "read", m.id); in PrintMutexSet()
144 Printf(i == mset.Size() - 1 ? ")" : ","); in PrintMutexSet()
158 Printf("%s", d.Access()); in PrintMop()
159 Printf(" %s of size %d at %p by %s", in PrintMop()
164 Printf(":\n"); in PrintMop()
165 Printf("%s", d.EndAccess()); in PrintMop()
173 Printf("%s", d.Location()); in PrintLocation()
177 Printf(" Location is global '%s' of size %zu at %p (%s+%p)\n\n", in PrintLocation()
181 Printf(" Location is global '%s' at %p (%s+%p)\n\n", global.name, in PrintLocation()
186 Printf(" Location is heap block of size %zu at %p allocated by %s:\n", in PrintLocation()
191 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation()
193 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation()
195 Printf(" Location is file descriptor %d created by %s at:\n", in PrintLocation()
199 Printf("%s", d.EndLocation()); in PrintLocation()
206 Printf("%sM%zd%s%s", d.Mutex(), rm->id, d.EndMutex(), after); in PrintMutexShort()
212 Printf("%sM%zd (%p)%s%s", d.Mutex(), rm->id, rm->addr, d.EndMutex(), after); in PrintMutexShortWithAddress()
218 Printf("%s", d.Mutex()); in PrintMutex()
219 Printf(" Mutex M%llu is already destroyed.\n\n", rm->id); in PrintMutex()
220 Printf("%s", d.EndMutex()); in PrintMutex()
222 Printf("%s", d.Mutex()); in PrintMutex()
223 Printf(" Mutex M%llu (%p) created at:\n", rm->id, rm->addr); in PrintMutex()
224 Printf("%s", d.EndMutex()); in PrintMutex()
233 Printf("%s", d.ThreadDescription()); in PrintThread()
234 Printf(" Thread T%d", rt->id); in PrintThread()
236 Printf(" '%s'", rt->name); in PrintThread()
238 Printf(" (tid=%zu, %s) created by %s", in PrintThread()
242 Printf(" at:"); in PrintThread()
243 Printf("\n"); in PrintThread()
244 Printf("%s", d.EndThreadDescription()); in PrintThread()
250 Printf("%s", d.Sleep()); in PrintSleep()
251 Printf(" As if synchronized via sleep:\n"); in PrintSleep()
252 Printf("%s", d.EndSleep()); in PrintSleep()
291 Printf("==================\n"); in PrintReport()
293 Printf("%s", d.Warning()); in PrintReport()
294 Printf("WARNING: ThreadSanitizer: %s (pid=%d)\n", rep_typ_str, in PrintReport()
296 Printf("%s", d.EndWarning()); in PrintReport()
300 Printf(" Cycle in lock order graph: "); in PrintReport()
308 Printf(" Mutex "); in PrintReport()
312 Printf("%s", d.ThreadDescription()); in PrintReport()
313 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i])); in PrintReport()
314 Printf("%s", d.EndThreadDescription()); in PrintReport()
317 Printf(" Mutex "); in PrintReport()
324 Printf(" Hint: use TSAN_OPTIONS=second_deadlock_stack=1 " in PrintReport()
331 Printf(" and:\n"); in PrintReport()
354 Printf(" And %d more similar thread leaks.\n\n", rep->count - 1); in PrintReport()
361 Printf("==================\n"); in PrintReport()
370 Printf(" [failed to restore the stack]\n"); in PrintStack()
376 Printf(" %s()\n %s:%d +0x%zx\n", info.function, in PrintStack()
383 Printf("\n"); in PrintMop()
384 Printf("%s at %p by ", in PrintMop()
388 Printf("main goroutine:\n"); in PrintMop()
390 Printf("goroutine %d:\n", mop->tid); in PrintMop()
397 Printf("\n"); in PrintLocation()
398 Printf("Heap block of size %zu at %p allocated by ", in PrintLocation()
401 Printf("main goroutine:\n"); in PrintLocation()
403 Printf("goroutine %d:\n", loc->tid); in PrintLocation()
408 Printf("\n"); in PrintLocation()
409 Printf("Global var %s of size %zu at %p declared at %s:%zu\n", in PrintLocation()
422 Printf("\n"); in PrintThread()
423 Printf("Goroutine %d (%s) created at:\n", in PrintThread()
429 Printf("==================\n"); in PrintReport()
431 Printf("WARNING: DATA RACE"); in PrintReport()
439 Printf("WARNING: DEADLOCK\n"); in PrintReport()
441 Printf("Goroutine %d lock mutex %d while holding mutex %d:\n", in PrintReport()
445 Printf("\n"); in PrintReport()
446 Printf("Mutex %d was previously locked here:\n", in PrintReport()
449 Printf("\n"); in PrintReport()
452 Printf("==================\n"); in PrintReport()