var runtime.trace
198 uses
runtime (current package)
debugcall.go#L160: if trace.enabled {
debugcall.go#L209: if trace.enabled {
debugcall.go#L218: if trace.enabled {
mcache.go#L196: if trace.enabled {
mcache.go#L235: if trace.enabled {
mcentral.go#L87: if trace.enabled {
mcentral.go#L152: if trace.enabled {
mcentral.go#L165: if trace.enabled && !traceDone {
mgc.go#L788: if trace.enabled {
mgc.go#L909: if trace.enabled {
mgc.go#L1346: if trace.enabled {
mgc.go#L1375: if trace.enabled {
mgc.go#L1443: now = startTheWorldWithSema(trace.enabled)
mgc.go#L1562: if trace.enabled {
mgc.go#L1683: if trace.enabled {
mgc.go#L2159: if trace.enabled {
mgcmark.go#L442: if trace.enabled && !traced {
mgcsweep.go#L333: if trace.enabled {
mgcsweep.go#L464: if trace.enabled {
mgcsweep.go#L640: if trace.enabled {
mgcsweep.go#L661: if trace.enabled {
mheap.go#L751: if trace.enabled {
mheap.go#L799: if trace.enabled {
mheap.go#L867: if trace.enabled {
proc.go#L611: lockInit(&trace.bufLock, lockRankTraceBuf)
proc.go#L612: lockInit(&trace.stringsLock, lockRankTraceStrings)
proc.go#L613: lockInit(&trace.lock, lockRankTrace)
proc.go#L615: lockInit(&trace.stackTab.lock, lockRankTraceStackTab)
proc.go#L773: if trace.enabled {
proc.go#L1093: if trace.enabled {
proc.go#L1512: if trace.enabled {
proc.go#L2540: if trace.enabled {
proc.go#L2609: if trace.enabled {
proc.go#L2701: if trace.enabled {
proc.go#L2721: if trace.enabled {
proc.go#L2859: if trace.enabled {
proc.go#L2899: if trace.enabled {
proc.go#L2991: if trace.enabled {
proc.go#L3097: if trace.enabled || trace.shutdown {
proc.go#L3255: if trace.enabled {
proc.go#L3267: if trace.enabled {
proc.go#L3294: if trace.enabled {
proc.go#L3307: if trace.enabled {
proc.go#L3314: if trace.enabled {
proc.go#L3324: if trace.enabled {
proc.go#L3354: if trace.enabled {
proc.go#L3369: if trace.enabled {
proc.go#L3524: if trace.enabled {
proc.go#L3583: if trace.enabled {
proc.go#L3639: if trace.enabled {
proc.go#L3670: if trace.enabled {
proc.go#L3702: if trace.enabled {
proc.go#L3753: if ok && trace.enabled {
proc.go#L3779: if trace.enabled {
proc.go#L4092: if trace.enabled {
proc.go#L4784: if trace.enabled {
proc.go#L4850: if trace.enabled {
proc.go#L4864: if trace.enabled {
proc.go#L4925: if trace.enabled {
proc.go#L4967: if trace.enabled {
proc.go#L5316: if trace.enabled {
trace.go#L109: var trace struct {
trace.go#L199: lock(&trace.bufLock)
trace.go#L201: if trace.enabled || trace.shutdown {
trace.go#L202: unlock(&trace.bufLock)
trace.go#L230: id := trace.stackTab.put([]uintptr{gp.startpc + sys.PCQuantum})
trace.go#L251: trace.ticksStart = cputicks()
trace.go#L252: trace.timeStart = nanotime()
trace.go#L253: trace.headerWritten = false
trace.go#L254: trace.footerWritten = false
trace.go#L259: trace.stringSeq = 0
trace.go#L260: trace.strings = make(map[string]uint64)
trace.go#L262: trace.seqGC = 0
trace.go#L264: trace.enabled = true
trace.go#L269: trace.markWorkerLabels[i], bufp = traceString(bufp, pid, label)
trace.go#L273: unlock(&trace.bufLock)
trace.go#L292: lock(&trace.bufLock)
trace.go#L294: if !trace.enabled {
trace.go#L295: unlock(&trace.bufLock)
trace.go#L312: if trace.buf != 0 {
trace.go#L313: buf := trace.buf
trace.go#L314: trace.buf = 0
trace.go#L321: trace.ticksEnd = cputicks()
trace.go#L322: trace.timeEnd = nanotime()
trace.go#L324: if trace.timeEnd != trace.timeStart {
trace.go#L330: trace.enabled = false
trace.go#L331: trace.shutdown = true
trace.go#L332: unlock(&trace.bufLock)
trace.go#L340: semacquire(&trace.shutdownSema)
trace.go#L342: raceacquire(unsafe.Pointer(&trace.shutdownSema))
trace.go#L346: lock(&trace.lock)
trace.go#L352: if trace.buf != 0 {
trace.go#L355: if trace.fullHead != 0 || trace.fullTail != 0 {
trace.go#L358: if trace.reading != 0 || trace.reader != 0 {
trace.go#L361: for trace.empty != 0 {
trace.go#L362: buf := trace.empty
trace.go#L363: trace.empty = buf.ptr().link
trace.go#L366: trace.strings = nil
trace.go#L367: trace.shutdown = false
trace.go#L368: unlock(&trace.lock)
trace.go#L383: lock(&trace.lock)
trace.go#L384: trace.lockOwner = getg()
trace.go#L386: if trace.reader != 0 {
trace.go#L390: trace.lockOwner = nil
trace.go#L391: unlock(&trace.lock)
trace.go#L396: if buf := trace.reading; buf != 0 {
trace.go#L397: buf.ptr().link = trace.empty
trace.go#L398: trace.empty = buf
trace.go#L399: trace.reading = 0
trace.go#L402: if !trace.headerWritten {
trace.go#L403: trace.headerWritten = true
trace.go#L404: trace.lockOwner = nil
trace.go#L405: unlock(&trace.lock)
trace.go#L409: if trace.fullHead == 0 && !trace.shutdown {
trace.go#L410: trace.reader.set(getg())
trace.go#L411: goparkunlock(&trace.lock, waitReasonTraceReaderBlocked, traceEvGoBlock, 2)
trace.go#L412: lock(&trace.lock)
trace.go#L415: if trace.fullHead != 0 {
trace.go#L417: trace.reading = buf
trace.go#L418: trace.lockOwner = nil
trace.go#L419: unlock(&trace.lock)
trace.go#L423: if !trace.footerWritten {
trace.go#L424: trace.footerWritten = true
trace.go#L426: freq := float64(trace.ticksEnd-trace.ticksStart) * 1e9 / float64(trace.timeEnd-trace.timeStart) / traceTickDiv
trace.go#L427: trace.lockOwner = nil
trace.go#L428: unlock(&trace.lock)
trace.go#L434: trace.stackTab.dump()
trace.go#L438: if trace.shutdown {
trace.go#L439: trace.lockOwner = nil
trace.go#L440: unlock(&trace.lock)
trace.go#L445: racerelease(unsafe.Pointer(&trace.shutdownSema))
trace.go#L448: semrelease(&trace.shutdownSema)
trace.go#L452: trace.lockOwner = nil
trace.go#L453: unlock(&trace.lock)
trace.go#L460: if trace.reader == 0 || (trace.fullHead == 0 && !trace.shutdown) {
trace.go#L463: lock(&trace.lock)
trace.go#L464: if trace.reader == 0 || (trace.fullHead == 0 && !trace.shutdown) {
trace.go#L465: unlock(&trace.lock)
trace.go#L468: gp := trace.reader.ptr()
trace.go#L469: trace.reader.set(nil)
trace.go#L470: unlock(&trace.lock)
trace.go#L481: lock(&trace.lock)
trace.go#L483: unlock(&trace.lock)
trace.go#L489: if trace.fullHead == 0 {
trace.go#L490: trace.fullHead = buf
trace.go#L492: trace.fullTail.ptr().link = buf
trace.go#L494: trace.fullTail = buf
trace.go#L499: buf := trace.fullHead
trace.go#L503: trace.fullHead = buf.ptr().link
trace.go#L504: if trace.fullHead == 0 {
trace.go#L505: trace.fullTail = 0
trace.go#L529: if !trace.enabled && !mp.startingtrace {
trace.go#L607: id := trace.stackTab.put(buf[:nstk])
trace.go#L617: lock(&trace.bufLock)
trace.go#L618: return mp, traceGlobProc, &trace.buf
trace.go#L624: unlock(&trace.bufLock)
trace.go#L631: owner := trace.lockOwner
trace.go#L634: lock(&trace.lock)
trace.go#L639: if trace.empty != 0 {
trace.go#L640: buf = trace.empty
trace.go#L641: trace.empty = buf.ptr().link
trace.go#L660: unlock(&trace.lock)
trace.go#L671: lock(&trace.stringsLock)
trace.go#L675: raceacquire(unsafe.Pointer(&trace.stringsLock))
trace.go#L678: if id, ok := trace.strings[s]; ok {
trace.go#L680: racerelease(unsafe.Pointer(&trace.stringsLock))
trace.go#L682: unlock(&trace.stringsLock)
trace.go#L687: trace.stringSeq++
trace.go#L688: id := trace.stringSeq
trace.go#L689: trace.strings[s] = id
trace.go#L692: racerelease(unsafe.Pointer(&trace.stringsLock))
trace.go#L694: unlock(&trace.stringsLock)
trace.go#L879: lock(&trace.lock)
trace.go#L881: unlock(&trace.lock)
trace.go#L991: traceEvent(traceEvGCStart, 3, trace.seqGC)
trace.go#L992: trace.seqGC++
trace.go#L1059: id := trace.stackTab.put([]uintptr{pc + sys.PCQuantum})
trace.go#L1068: traceEvent(traceEvGoStartLabel, -1, uint64(_g_.goid), _g_.traceseq, trace.markWorkerLabels[_p_.ptr().gcMarkWorkerMode])
trace.go#L1116: if ts != 0 && ts < trace.ticksStart {
trace.go#L1163: if !trace.enabled {
trace.go#L1169: if !trace.enabled && !mp.startingtrace {
trace.go#L1186: if !trace.enabled {
trace.go#L1191: if !trace.enabled && !mp.startingtrace {
trace.go#L1203: if !trace.enabled {
trace.go#L1208: if !trace.enabled && !mp.startingtrace {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |