Home | History | Annotate | Download | only in runtime

Lines Matching defs:traceEvent

194 	// To instruct traceEvent that it must not ignore events below, we set startingtrace.
212 traceEvent(traceEvGoCreate, -1, uint64(gp.goid), uint64(id), stackID)
217 traceEvent(traceEvGoWaiting, -1, uint64(gp.goid))
221 traceEvent(traceEvGoInSyscall, -1, uint64(gp.goid))
264 // and also to avoid races with traceEvent.
355 // (goparkunlock -> traceGoPark -> traceEvent -> traceFlush).
492 // traceEvent writes a single event to trace buffer, flushing the buffer if necessary.
497 func traceEvent(ev byte, skip int, args ...uint64) {
500 // This protects from races between traceEvent and StartTrace/StopTrace.
899 traceEvent(traceEvGomaxprocs, 1, uint64(procs))
903 traceEvent(traceEvProcStart, -1, uint64(getg().m.id))
912 traceEvent(traceEvProcStop, -1)
918 traceEvent(traceEvGCStart, 3, trace.seqGC)
923 traceEvent(traceEvGCDone, -1)
927 traceEvent(traceEvGCScanStart, -1)
931 traceEvent(traceEvGCScanDone, -1)
935 traceEvent(traceEvGCSweepStart, 1)
939 traceEvent(traceEvGCSweepDone, -1)
947 traceEvent(traceEvGoCreate, 2, uint64(newg.goid), uint64(id))
955 traceEvent(traceEvGoStartLabel, -1, uint64(_g_.goid), _g_.traceseq, trace.markWorkerLabels[_p_.ptr().gcMarkWorkerMode])
957 traceEvent(traceEvGoStartLocal, -1, uint64(_g_.goid))
960 traceEvent(traceEvGoStart, -1, uint64(_g_.goid), _g_.traceseq)
965 traceEvent(traceEvGoEnd, -1)
971 traceEvent(traceEvGoSched, 1)
977 traceEvent(traceEvGoPreempt, 1)
982 traceEvent(traceEvFutileWakeup, -1)
984 traceEvent(traceEv & ^traceFutileWakeup, skip)
991 traceEvent(traceEvGoUnblockLocal, skip, uint64(gp.goid))
994 traceEvent(traceEvGoUnblock, skip, uint64(gp.goid), gp.traceseq)
999 traceEvent(traceEvGoSysCall, 1)
1018 traceEvent(traceEvGoSysExit, -1, uint64(_g_.goid), _g_.traceseq, uint64(ts)/traceTickDiv)
1027 traceEvent(traceEvGoSysBlock, -1)
1033 traceEvent
1039 traceEvent(traceEvNextGC, -1, 0)
1041 traceEvent(traceEvNextGC, -1, memstats.next_gc)