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
}
func (*CgrpTrackingKey) DeepCopyMapKey ¶
func (k *CgrpTrackingKey) DeepCopyMapKey() bpf.MapKey
func (*CgrpTrackingKey) GetKeyPtr ¶
func (k *CgrpTrackingKey) GetKeyPtr() unsafe.Pointer
func (*CgrpTrackingKey) NewValue ¶
func (k *CgrpTrackingKey) NewValue() bpf.MapValue
func (*CgrpTrackingKey) String ¶
func (k *CgrpTrackingKey) String() string
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)
func (*CgrpTrackingValue) DeepCopyMapValue ¶
func (v *CgrpTrackingValue) DeepCopyMapValue() bpf.MapValue
func (*CgrpTrackingValue) GetValuePtr ¶
func (v *CgrpTrackingValue) GetValuePtr() unsafe.Pointer
func (*CgrpTrackingValue) String ¶
func (v *CgrpTrackingValue) String() string
Click to show internal directories.
Click to hide internal directories.