Help us shape the future of Go! Take the 2026 Go Developer Survey

maps

package
v0.9.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

This section is empty.

Types

type Mapping

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

func NewMapping

func NewMapping(fileCache *PIDMappingFileCache) *Mapping

func (*Mapping) AllMappings

func (m *Mapping) AllMappings() ([]*profile.Mapping, []ProcessMapping)

func (*Mapping) PIDAddrMapping added in v0.6.0

func (m *Mapping) PIDAddrMapping(pid uint32, addr uint64) (*profile.Mapping, error)

type PIDMappingFileCache added in v0.6.0

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

func NewPIDMappingFileCache added in v0.6.0

func NewPIDMappingFileCache(logger log.Logger) *PIDMappingFileCache

func (*PIDMappingFileCache) MappingForPID added in v0.6.0

func (c *PIDMappingFileCache) MappingForPID(pid uint32) ([]*profile.Mapping, error)

type ProcessMapping added in v0.6.0

type ProcessMapping struct {
	PID     uint32
	Mapping *profile.Mapping
}

Jump to

Keyboard shortcuts

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