perf

package
v0.10.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPerfMapNotFound    = errors.New("perf-map not found")
	ErrProcStatusNotFound = errors.New("process status not found")
	ErrNoSymbolFound      = errors.New("no symbol found")
)

Functions

func NewCache added in v0.10.0

func NewCache(logger log.Logger) *cache

Types

type Map added in v0.6.0

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

func ReadMap added in v0.6.0

func ReadMap(fs fs.FS, fileName string) (Map, error)

func (*Map) Lookup added in v0.6.0

func (p *Map) Lookup(addr uint64) (string, error)

type MapAddr added in v0.6.0

type MapAddr struct {
	Start  uint64
	End    uint64
	Symbol string
}

Jump to

Keyboard shortcuts

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