proc

package
v0.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BPF_EVENT_PROC_EXEC = iota + 1
	BPF_EVENT_PROC_EXIT
)
View Source
const (
	EVENT_PROC_EXEC = "EVENT_PROC_EXEC"
	EVENT_PROC_EXIT = "EVENT_PROC_EXIT"
)
View Source
const PROC_EVENT = "proc_event"

Variables

This section is empty.

Functions

func DeployAndWait

func DeployAndWait(parentCtx context.Context, ch chan interface{})

returns when program is detached

func LoadBpfObjects

func LoadBpfObjects()

Types

type PEvent

type PEvent struct {
	Pid   uint32
	Type_ uint8
	// contains filtered or unexported fields
}

type ProcEvent

type ProcEvent struct {
	Pid   uint32
	Type_ string
}

func (ProcEvent) Type

func (e ProcEvent) Type() string

type ProcEventConversion

type ProcEventConversion uint32

Custom type for the enumeration

func (ProcEventConversion) String

func (e ProcEventConversion) String() string

String representation of the enumeration values

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL