Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnnotateFrame ¶
func AnnotateFrame(frame *StackFrame, moduleName string)
AnnotateFrame sets the IsImportant and IsSys flags on a stack frame based on the module name and package information
Types ¶
type ParsedGoRoutine ¶
type ParsedGoRoutine = rpctypes.ParsedGoRoutine
func ParseGoRoutineStackTrace ¶
func ParseGoRoutineStackTrace(stackTrace string, moduleName string, goId int64, state string) (ParsedGoRoutine, error)
ParseGoRoutineStackTrace parses a Go routine stack trace string into a struct moduleName is the name of the module that the app belongs to, used to identify important frames goId and state are required parameters since the stacktrace no longer includes the goroutine header line
type PreprocessedGoRoutineLines ¶
type PreprocessedGoRoutineLines struct {
StackFrames []rawStackFrame // Stack frames, where each frame has a function line and optional file line
CreatedBy rawStackFrame // The "created by" information
}
PreprocessedGoRoutineLines represents a preprocessed goroutine stack trace
type StackFrame ¶
type StackFrame = rpctypes.StackFrame
Click to show internal directories.
Click to hide internal directories.