Imports #
"fmt"
"internal/trace/event"
"fmt"
"internal/trace/event"
AllocFree is the alloc-free events experiment.
const AllocFree event.Experiment = *ast.BinaryExpr
const EvCPUSample
const EvCPUSamples
Structural events.
const EvEventBatch
Batch event for an experimental batch with a custom format. Added in Go 1.23.
const EvExperimentalBatch
const EvFrequency
GC events.
const EvGCActive
const EvGCBegin
const EvGCEnd
const EvGCMarkAssistActive
const EvGCMarkAssistBegin
const EvGCMarkAssistEnd
const EvGCSweepActive
const EvGCSweepBegin
const EvGCSweepEnd
const EvGoBlock
Goroutines.
const EvGoCreate
const EvGoCreateBlocked
const EvGoCreateSyscall
const EvGoDestroy
const EvGoDestroySyscall
Annotations.
const EvGoLabel
const EvGoStart
const EvGoStatus
GoStatus with stack. Added in Go 1.23.
const EvGoStatusStack
const EvGoStop
Coroutines. Added in Go 1.23.
const EvGoSwitch
const EvGoSwitchDestroy
const EvGoSyscallBegin
const EvGoSyscallEnd
const EvGoSyscallEndBlocked
const EvGoUnblock
Experimental goroutine stack events. Added in Go 1.23.
const EvGoroutineStack
Experimental events.
const EvGoroutineStackAlloc
Experimental events.
const EvGoroutineStackFree
const EvHeapAlloc
const EvHeapGoal
Experimental heap object events. Added in Go 1.23.
const EvHeapObject
Experimental events.
const EvHeapObjectAlloc
Experimental events.
const EvHeapObjectFree
const EvNone event.Type = iota
const EvProcStart
const EvProcStatus
const EvProcSteal
const EvProcStop
Procs.
const EvProcsChange
STW.
const EvSTWBegin
const EvSTWEnd
Experimental heap span events. Added in Go 1.23.
const EvSpan
Experimental events.
const EvSpanAlloc
Experimental events.
const EvSpanFree
const EvStack
const EvStacks
const EvString
const EvStrings
const EvUserLog
const EvUserRegionBegin
const EvUserRegionEnd
const EvUserTaskBegin
const EvUserTaskEnd
const GoBad GoStatus = iota
const GoRunnable
const GoRunning
const GoSyscall
const GoWaiting
Various format-specific constants.
const MaxBatchSize = *ast.BinaryExpr
const MaxFramesPerStack = 128
const MaxStringSize = *ast.BinaryExpr
const ProcBad ProcStatus = iota
const ProcIdle
const ProcRunning
const ProcSyscall
const ProcSyscallAbandoned
Experimental events.
const _ event.Type = *ast.BinaryExpr
var specs = [...]event.Spec{...}
type GoStatus uint8
type ProcStatus uint8
EventString returns the name of a Go 1.22 event.
func EventString(typ event.Type) string
func Specs() []event.Spec
func (s GoStatus) String() string
func (s ProcStatus) String() string
Generated with Arrow