stacktrace

package
v0.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL