Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HSPerfDataCache ¶
type HSPerfDataCache struct {
// contains filtered or unexported fields
}
func NewHSPerfDataCache ¶
func NewHSPerfDataCache(logger log.Logger, nsCache *namespace.Cache) *HSPerfDataCache
func (*HSPerfDataCache) Exists ¶
func (c *HSPerfDataCache) Exists(pid int) bool
func (*HSPerfDataCache) IsJavaProcess ¶
func (c *HSPerfDataCache) IsJavaProcess(pid int) (bool, error)
IsJavaProcess returns true if the hsperfdata file exists for a given pid. It first searches in all hsperfdata user directories for the processes running on host and then searches in /proc/{pid}/root/tmp for processes running in containers. Note that pids are assumed to be unique regardless of username.
Click to show internal directories.
Click to hide internal directories.