symbol

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PerfCache

type PerfCache interface {
	MapForPID(pid int) (*perf.Map, error)
}

type SymbolCache

type SymbolCache interface {
	Resolve(addrs map[uint64]struct{}) (map[uint64]string, error)
}

type Symbolizer

type Symbolizer struct {
	// contains filtered or unexported fields
}

Symbolizer helps to resolve symbols for the stacks to obtain stacks using information on the host.

func NewSymbolizer

func NewSymbolizer(logger log.Logger, perfCache PerfCache, ksymCache SymbolCache) *Symbolizer

func (*Symbolizer) Symbolize

func (s *Symbolizer) Symbolize(prof *profiler.Profile) error

Jump to

Keyboard shortcuts

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