Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPerfMapNotFound = errors.New("perf-map not found") 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.20.0
type JitdumpCache struct {
// contains filtered or unexported fields
}
func NewJitdumpCache ¶ added in v0.20.0
func NewJitdumpCache(logger log.Logger, reg prometheus.Registerer, profilingDuration time.Duration) *JitdumpCache
func (*JitdumpCache) JitdumpForPID ¶ added in v0.20.0
func (p *JitdumpCache) JitdumpForPID(pid int, path string) (*Map, 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 {
// contains filtered or unexported fields
}
func ReadJitdump ¶ added in v0.20.0
func ReadPerfMap ¶ added in v0.20.0
func (*Map) Deduplicate ¶ added in v0.24.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, profilingDuration time.Duration) *PerfMapCache
func (*PerfMapCache) PerfMapForPID ¶ added in v0.20.0
func (p *PerfMapCache) PerfMapForPID(pid int) (*Map, error)
MapForPID returns the Map for the given pid if it exists.
Click to show internal directories.
Click to hide internal directories.