Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoFile = errors.New("cannot load object file for mappings with empty file")
Functions ¶
func NewCache ¶
func NewCache(logger log.Logger, reg prometheus.Registerer, size int, profiligDuration time.Duration) *objfileCache
NewCache creates a new cache for object files.
Types ¶
type MappedObjectFile ¶
type MappedObjectFile struct {
*ObjectFile
PID int
File string
}
func (MappedObjectFile) Root ¶
func (f MappedObjectFile) Root() string
Click to show internal directories.
Click to hide internal directories.