# Functions

Parse parses, post-processes and verifies the trace.
Print dumps events to stdout.
PrintEvent dumps the event to stdout.

# Constants

start of per-P batch of events [pid, timestamp].
Event types in the trace.
contains tracer timer frequency [frequency (ticks per second)].
denotes that the previous wakeup of this goroutine was futile [timestamp].
GC done [timestamp].
GC mark termination done [timestamp].
GC mark termination start [timestamp].
GC start [timestamp, seq, stack id].
GC sweep done [timestamp].
GC sweep start [timestamp, stack id].
goroutine blocks [timestamp, stack].
goroutine blocks on Cond [timestamp, stack].
goroutine blocks on GC assist [timestamp, stack].
goroutine blocks on network [timestamp, stack].
goroutine blocks on chan recv [timestamp, stack].
goroutine blocks on select [timestamp, stack].
goroutine blocks on chan send [timestamp, stack].
goroutine blocks on Mutex/RWMutex [timestamp, stack].
goroutine creation [timestamp, new goroutine id, new stack id, stack id].
goroutine ends [timestamp].
denotes that goroutine is in syscall when tracing starts [timestamp, goroutine id].
current value of GOMAXPROCS [timestamp, GOMAXPROCS, stack id].
goroutine is preempted [timestamp, stack].
goroutine calls Gosched [timestamp, stack].
goroutine calls Sleep [timestamp, stack].
goroutine starts running [timestamp, goroutine id, seq].
goroutine starts running with label [timestamp, goroutine id, seq, label string id].
goroutine starts running on the same P as the last event [timestamp, goroutine id].
goroutine stops (like in select{}) [timestamp, stack].
syscall blocks [timestamp].
syscall enter [timestamp, stack].
syscall exit [timestamp, goroutine id, seq, real timestamp].
syscall exit on the same P as the last event [timestamp, goroutine id, real timestamp].
goroutine is unblocked [timestamp, goroutine id, seq, stack].
goroutine is unblocked on the same P as the last event [timestamp, goroutine id, stack].
denotes that goroutine is blocked when tracing starts [timestamp, goroutine id].
memstats.heap_live change [timestamp, heap_alloc].
memstats.next_gc change [timestamp, next_gc].
unused.
start of P [timestamp, thread id].
stop of P [timestamp].
stack [stack id, number of PCs, array of {PC, func string ID, file string ID, line}].
string dictionary entry [ID, length, string].
denotes timer goroutine [timer goroutine id].
Special P identifiers:.
depicts GC state.
depicts network unblocks.
depicts returns from syscalls.
depicts timer unblocks.

# Variables

BreakTimestampsForTesting causes the parser to randomly alter timestamps (for testing of broken cputicks).
ErrTimeOrder is returned by Parse when the trace contains time stamps that do not respect actual event ordering.
No description provided by the author

# Structs

Event describes one event in the trace.
Frame is a frame in stack traces.