Versions in this module Expand all Collapse all go1 go1.25.1 Sep 3, 2025 go1.25.0 Aug 12, 2025 Changes in this version + const FakeP + const GCP + const NetpollP + const ProfileP + const SyscallP + const TimerP + var ErrTimeOrder = errors.New("time stamps out of order") + var EventDescriptions = [256]struct{ ... } + type Event struct + Args [4]uint64 + G uint64 + P int32 + StkID uint32 + Ts Timestamp + Type EventType + func (ev *Event) String() string + type EventType uint8 + const EvBatch + const EvCPUSample + const EvCount + const EvFrequency + const EvFutileWakeup + const EvGCDone + const EvGCMarkAssistDone + const EvGCMarkAssistStart + const EvGCStart + const EvGCSweepDone + const EvGCSweepStart + const EvGoBlock + const EvGoBlockCond + const EvGoBlockGC + const EvGoBlockNet + const EvGoBlockRecv + const EvGoBlockSelect + const EvGoBlockSend + const EvGoBlockSync + const EvGoCreate + const EvGoEnd + const EvGoInSyscall + const EvGoPreempt + const EvGoSched + const EvGoSleep + const EvGoStart + const EvGoStartLabel + const EvGoStartLocal + const EvGoStop + const EvGoSysBlock + const EvGoSysCall + const EvGoSysExit + const EvGoSysExitLocal + const EvGoUnblock + const EvGoUnblockLocal + const EvGoWaiting + const EvGomaxprocs + const EvHeapAlloc + const EvHeapGoal + const EvNone + const EvProcStart + const EvProcStop + const EvSTWDone + const EvSTWStart + const EvStack + const EvString + const EvTimerGoroutine + const EvUserLog + const EvUserRegion + const EvUserTaskCreate + const EvUserTaskEnd + type Events struct + func (l *Events) All() func(yield func(ev *Event) bool) + func (l *Events) Len() int + func (l *Events) Less(i, j int) bool + func (l *Events) Peek() (*Event, bool) + func (l *Events) Pop() (*Event, bool) + func (l *Events) Ptr(i int) *Event + func (l *Events) Swap(i, j int) + type Frame struct + File uint64 + Fn uint64 + Line int + PC uint64 + type STWReason int + const NumSTWReasons + const STWAllGoroutinesStackTrace + const STWAllThreadsSyscall + const STWCountPagesInUse + const STWGCMarkTermination + const STWGCSweepTermination + const STWGOMAXPROCS + const STWGoroutineProfile + const STWGoroutineProfileCleanup + const STWPageCachePagesLeaked + const STWReadMemStats + const STWReadMemStatsSlow + const STWReadMetricsSlow + const STWResetDebugLog + const STWStartTrace + const STWStopTrace + const STWUnknown + const STWWriteHeapDump + type Timestamp int64 + type Trace struct + Events Events + InlineStrings []string + PCs map[uint64]Frame + Stacks map[uint32][]uint64 + Strings map[uint64]string + Version version.Version + func Parse(r io.Reader, vers version.Version) (Trace, error) + func (tr *Trace) STWReason(kindID uint64) STWReason go1.25rc3 Aug 6, 2025 go1.25rc2 Jul 8, 2025 go1.25rc1 Jun 11, 2025