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

maps

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildIDFile

type BuildIDFile struct {
	PID  uint32
	File string
}

func (BuildIDFile) FullPath

func (f BuildIDFile) FullPath() string

func (BuildIDFile) Root

func (f BuildIDFile) Root() string

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, map[string]BuildIDFile)

func (*Mapping) PidAddrMapping

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

type PidMappingFileCache

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

func NewPidMappingFileCache

func NewPidMappingFileCache(logger log.Logger) *PidMappingFileCache

func (*PidMappingFileCache) MappingForPid

func (c *PidMappingFileCache) MappingForPid(pid uint32) ([]*profile.Mapping, error)

Jump to

Keyboard shortcuts

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