go122

Imports

Imports #

"fmt"
"internal/trace/event"

Constants & Variables

AllocFree const #

AllocFree is the alloc-free events experiment.

const AllocFree event.Experiment = *ast.BinaryExpr

EvCPUSample const #

const EvCPUSample

EvCPUSamples const #

const EvCPUSamples

EvEventBatch const #

Structural events.

const EvEventBatch

EvExperimentalBatch const #

Batch event for an experimental batch with a custom format. Added in Go 1.23.

const EvExperimentalBatch

EvFrequency const #

const EvFrequency

EvGCActive const #

GC events.

const EvGCActive

EvGCBegin const #

const EvGCBegin

EvGCEnd const #

const EvGCEnd

EvGCMarkAssistActive const #

const EvGCMarkAssistActive

EvGCMarkAssistBegin const #

const EvGCMarkAssistBegin

EvGCMarkAssistEnd const #

const EvGCMarkAssistEnd

EvGCSweepActive const #

const EvGCSweepActive

EvGCSweepBegin const #

const EvGCSweepBegin

EvGCSweepEnd const #

const EvGCSweepEnd

EvGoBlock const #

const EvGoBlock

EvGoCreate const #

Goroutines.

const EvGoCreate

EvGoCreateBlocked const #

const EvGoCreateBlocked

EvGoCreateSyscall const #

const EvGoCreateSyscall

EvGoDestroy const #

const EvGoDestroy

EvGoDestroySyscall const #

const EvGoDestroySyscall

EvGoLabel const #

Annotations.

const EvGoLabel

EvGoStart const #

const EvGoStart

EvGoStatus const #

const EvGoStatus

EvGoStatusStack const #

GoStatus with stack. Added in Go 1.23.

const EvGoStatusStack

EvGoStop const #

const EvGoStop

EvGoSwitch const #

Coroutines. Added in Go 1.23.

const EvGoSwitch

EvGoSwitchDestroy const #

const EvGoSwitchDestroy

EvGoSyscallBegin const #

const EvGoSyscallBegin

EvGoSyscallEnd const #

const EvGoSyscallEnd

EvGoSyscallEndBlocked const #

const EvGoSyscallEndBlocked

EvGoUnblock const #

const EvGoUnblock

EvGoroutineStack const #

Experimental goroutine stack events. Added in Go 1.23.

const EvGoroutineStack

EvGoroutineStackAlloc const #

Experimental events.

const EvGoroutineStackAlloc

EvGoroutineStackFree const #

Experimental events.

const EvGoroutineStackFree

EvHeapAlloc const #

const EvHeapAlloc

EvHeapGoal const #

const EvHeapGoal

EvHeapObject const #

Experimental heap object events. Added in Go 1.23.

const EvHeapObject

EvHeapObjectAlloc const #

Experimental events.

const EvHeapObjectAlloc

EvHeapObjectFree const #

Experimental events.

const EvHeapObjectFree

EvNone const #

const EvNone event.Type = iota

EvProcStart const #

const EvProcStart

EvProcStatus const #

const EvProcStatus

EvProcSteal const #

const EvProcSteal

EvProcStop const #

const EvProcStop

EvProcsChange const #

Procs.

const EvProcsChange

EvSTWBegin const #

STW.

const EvSTWBegin

EvSTWEnd const #

const EvSTWEnd

EvSpan const #

Experimental heap span events. Added in Go 1.23.

const EvSpan

EvSpanAlloc const #

Experimental events.

const EvSpanAlloc

EvSpanFree const #

Experimental events.

const EvSpanFree

EvStack const #

const EvStack

EvStacks const #

const EvStacks

EvString const #

const EvString

EvStrings const #

const EvStrings

EvUserLog const #

const EvUserLog

EvUserRegionBegin const #

const EvUserRegionBegin

EvUserRegionEnd const #

const EvUserRegionEnd

EvUserTaskBegin const #

const EvUserTaskBegin

EvUserTaskEnd const #

const EvUserTaskEnd

GoBad const #

const GoBad GoStatus = iota

GoRunnable const #

const GoRunnable

GoRunning const #

const GoRunning

GoSyscall const #

const GoSyscall

GoWaiting const #

const GoWaiting

MaxBatchSize const #

Various format-specific constants.

const MaxBatchSize = *ast.BinaryExpr

MaxFramesPerStack const #

const MaxFramesPerStack = 128

MaxStringSize const #

const MaxStringSize = *ast.BinaryExpr

ProcBad const #

const ProcBad ProcStatus = iota

ProcIdle const #

const ProcIdle

ProcRunning const #

const ProcRunning

ProcSyscall const #

const ProcSyscall

ProcSyscallAbandoned const #

const ProcSyscallAbandoned

_ const #

Experimental events.

const _ event.Type = *ast.BinaryExpr

specs var #

var specs = [...]event.Spec{...}

Type Aliases

GoStatus type #

type GoStatus uint8

ProcStatus type #

type ProcStatus uint8

Functions

EventString function #

EventString returns the name of a Go 1.22 event.

func EventString(typ event.Type) string

Specs function #

func Specs() []event.Spec

String method #

func (s GoStatus) String() string

String method #

func (s ProcStatus) String() string

Generated with Arrow