Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CgrpTrackingKey ¶
type CgrpTrackingKey struct {
CgrpId uint64
}
type CgrpTrackingValue ¶
type CgrpTrackingValue struct { /* State of cgroup */ State int32 `align:"state"` /* Unique id for the hierarchy this is mostly for cgroupv1 */ HierarchyId uint32 `align:"hierarchy_id"` /* The depth this cgroup is at - We don't track ancestors as they may change */ Level uint32 `align:"level"` Pad uint32 `align:"pad"` /* Cgroup kernfs_node name */ Name [processapi.CGROUP_NAME_LENGTH]byte `align:"name"` }
func LookupTrackingCgroup ¶
func LookupTrackingCgroup(mapPath string, cgrpid uint64) (*CgrpTrackingValue, error)
Click to show internal directories.
Click to hide internal directories.