Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPerfMapNotFound = errors.New("perf-map not found") ErrEmptyPerfMap = errors.New("perf-map is empty") ErrProcNotFound = errors.New("process not found") )
View Source
var ErrJITDumpNotFound = errors.New("jitdump not found")
View Source
var ErrNoSymbolFound = errors.New("no symbol found")
Functions ¶
This section is empty.
Types ¶
type JITDumpCache ¶ added in v0.28.0
type JITDumpCache struct {
// contains filtered or unexported fields
}
func NewJITDumpCache ¶ added in v0.28.0
func NewJITDumpCache( logger log.Logger, reg prometheus.Registerer, tmpDir string, profilingDuration time.Duration, ) *JITDumpCache
func (*JITDumpCache) JITDumpForPID ¶ added in v0.28.0
func (p *JITDumpCache) JITDumpForPID(pid int, path string) (*symtab.FileReader, error)
DumpForPID reads the JIT dump for the given PID and filename and returns a Map that can be queried.
type Map ¶ added in v0.6.0
type Map struct { Path string // contains filtered or unexported fields }
func ReadJITdump ¶ added in v0.28.0
func ReadPerfMap ¶ added in v0.20.0
func (*Map) DeduplicatedIndices ¶ added in v0.28.0
type PerfMapCache ¶ added in v0.20.0
type PerfMapCache struct {
// contains filtered or unexported fields
}
func NewPerfMapCache ¶ added in v0.20.0
func NewPerfMapCache(logger log.Logger, reg prometheus.Registerer, nsCache *namespace.Cache, tmpDir string, profilingDuration time.Duration) *PerfMapCache
func (*PerfMapCache) PerfMapForPID ¶ added in v0.20.0
func (p *PerfMapCache) PerfMapForPID(pid int) (*symtab.FileReader, error)
MapForPID returns the Map for the given pid if it exists.
Click to show internal directories.
Click to hide internal directories.