Documentation ¶ Index ¶ Variables func NewCache(logger log.Logger) *cache type Map func ReadMap(fs fs.FS, fileName string) (Map, error) func (p *Map) Lookup(addr uint64) (string, error) type MapAddr 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 } Source Files ¶ View all Source files perf.go Click to show internal directories. Click to hide internal directories.