# Functions
MakeResourceID creates a general resource ID from a specific resource's ID.
NewReader creates a new trace reader.
# Constants
BackgroundTask is the global task that events are attached to if there was no other task in the context at the point the event was emitted.
No description provided by the author
EventLabel attaches a label to a resource.
EventLog represents a runtime/trace.Log call.
EventMetric is an event that represents the value of a metric at a particular point in time.
No description provided by the author
EventRangeBegin and EventRangeEnd are a pair of generic events representing a special range of time.
No description provided by the author
EventRegionBegin and EventRegionEnd are a pair of events represent a runtime/trace.Region.
No description provided by the author
EventStackSample represents an execution sample, indicating what a thread/proc/goroutine was doing at a particular point in time via its backtrace.
Transitions in state for some resource.
EventKindSync is an event that indicates a global synchronization point in the trace.
EvTaskBegin and EvTaskEnd are a pair of events representing a runtime/trace.Task.
No description provided by the author
Goroutine does not exist.
Goroutine is runnable but not running.
Goroutine is running.
Goroutine is in a system call.
No information is known about the goroutine.
Goroutine is waiting on something to happen.
NoGoroutine indicates that the relevant events don't correspond to any goroutine in particular.
NoProc indicates that the relevant events don't correspond to any P in particular.
NoTask indicates the lack of a task.
NoThread indicates that the relevant events don't correspond to any thread in particular.
Proc is idle.
Proc does not exist.
Proc is running.
No information is known about the proc.
Goroutine.
No resource.
Proc.
Thread.
No description provided by the author
No description provided by the author
# Variables
NoStack is a sentinel value that can be compared against any Stack value, indicating a lack of a stack trace.
# Structs
Event represents a single event in the trace.
Label provides details about a Label event.
Log provides details about a Log event.
Metric provides details about a Metric event.
Range provides details about a Range event.
RangeAttributes provides attributes about a completed Range.
Reader reads a byte stream, validates it, and produces trace events.
Region provides details about a Region event.
ResourceID represents a generic resource ID.
Stack represents a stack.
StackFrame represents a single frame of a stack.
StateTransition provides details about a StateTransition event.
Task provides details about a Task event.
Value is a dynamically-typed value obtained from a trace.
# Type aliases
EventKind indicates the kind of event this is.
GoID is the runtime-internal G structure's goid field.
GoState represents the state of a goroutine.
ProcID is the runtime-internal G structure's id field.
ProcState represents the state of a proc.
ResourceKind indicates a kind of resource that has a state machine.
TaskID is the internal ID of a task used to disambiguate tasks (even if they are of the same type).
ThreadID is the runtime-internal M structure's ID.
Time is a timestamp in nanoseconds.
ValueKind is the type of a dynamically-typed value from a trace.