tracer

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BpfProcessEvent

type BpfProcessEvent struct {
	Type       uint32
	ParentPid  uint32
	ParentTgid uint32
	ChildPid   uint32
	ChildTgid  uint32
	MntNsId    uint32
	ParentTask [16]uint8
	ChildTask  [16]uint8
	Filename   [64]uint8
}

type ProcessTracer

type ProcessTracer struct {
	// contains filtered or unexported fields
}

func NewProcessTracer

func NewProcessTracer(log logr.Logger) (*ProcessTracer, error)

func (*ProcessTracer) AddProcessEventNotifyCh

func (tracer *ProcessTracer) AddProcessEventNotifyCh(subscriber string, processEventCh chan BpfProcessEvent)

func (*ProcessTracer) Close

func (tracer *ProcessTracer) Close()

func (*ProcessTracer) DeleteProcessEventNotifyCh

func (tracer *ProcessTracer) DeleteProcessEventNotifyCh(subscriber string)

Jump to

Keyboard shortcuts

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