ArgTypes var #
ArgTypes is a list of valid argument types for use in Args. See the documentation of Args for more details.
var ArgTypes = [...]string{...}
ArgTypes is a list of valid argument types for use in Args. See the documentation of Args for more details.
var ArgTypes = [...]string{...}
const MayHave
const MustHave
const MustNotHave Constraint = iota
NoExperiment is the reserved ID 0 indicating no experiment.
const NoExperiment Experiment = 0
UserGoReqs is a common requirement among events that are running or are close to running user code.
var UserGoReqs = SchedReqs{...}
Constraint represents a various presence requirements.
type Constraint uint8
Experiment is an experiment ID that events may be associated with.
type Experiment uint
Type indicates an event's type from which its arguments and semantics can be derived. Its representation matches the wire format's representation of the event types that precede all event data.
type Type uint8
SchedReqs is a set of constraints on what the scheduling context must look like.
type SchedReqs struct {
Thread Constraint
Proc Constraint
Goroutine Constraint
}
Spec is a specification for a trace event. It contains sufficient information to perform basic parsing of any trace event for any version of Go.
type Spec struct {
Name string
Args []string
StringIDs []int
StackIDs []int
StartEv Type
IsTimedEvent bool
HasData bool
IsStack bool
Experiment Experiment
}
Names is a helper that produces a mapping of event names to event types.
func Names(specs []Spec) map[string]Type
Generated with Arrow