Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CeilDivide ¶
func CeilDivide2 ¶ added in v0.0.7
func ObjectReference ¶
ObjectReference scanning goroutine stack and global vars to search all heap objects they reference, and outputs the reference relationship to the filename with pprof format.
func SetMaxRefDepth ¶ added in v0.0.4
func SetMaxRefDepth(depth int)
Types ¶
type Address ¶
type Address uint64
Address provides a simple encapsulation of address operations.
type HeapScope ¶
type HeapScope struct {
// contains filtered or unexported fields
}
HeapScope contains the proc info for this round of scanning.
type ObjRefScope ¶
type ObjRefScope struct { *HeapScope // contains filtered or unexported fields }
type ReferenceVariable ¶
type ReferenceVariable struct { Addr Address Name string RealType godwarf.Type // contains filtered or unexported fields }
ReferenceVariable represents a variable. It contains the address, name, type and other information parsed from both the Dwarf information and the memory of the debugged process.
func ToReferenceVariable ¶ added in v0.0.6
func ToReferenceVariable(v *proc.Variable) *ReferenceVariable
Click to show internal directories.
Click to hide internal directories.