Documentation
¶
Index ¶
- Constants
- Variables
- func AddInode(mapKey BpfMapKey) error
- func LoadEbpf(ctx context.Context) error
- func ReadAlert(ctx context.Context, cli client.Reader) (kivev2alpha1.KiveAlert, error)
- func ReadEbpfData() (bpfLogData, error)
- func RemoveInode(mapKey BpfMapKey) error
- func UnloadEbpf(ctx context.Context) error
- type BpfMapKey
Constants ¶
View Source
const ( MapMaxEntries = 1024 KprobedFunc = "inode_permission" )
Variables ¶
Functions ¶
func ReadEbpfData ¶
func ReadEbpfData() (bpfLogData, error)
* Read the data from the Ringbuffer, hangs until data is received or * returns an error. This function can be used without a running * kubernetes cluster.
func UnloadEbpf ¶
* Unload the eBPF program, objects and ringbuffer.
Types ¶
Click to show internal directories.
Click to hide internal directories.