ebpf

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BpfEvent

type BpfEvent interface {
	Type() string
}

type EbpfCollector

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

func NewEbpfCollector

func NewEbpfCollector(parentCtx context.Context, ct *cri.CRITool) *EbpfCollector

func (*EbpfCollector) AttachGoTlsUprobesOnProcess added in v0.2.0

func (e *EbpfCollector) AttachGoTlsUprobesOnProcess(procfs string, pid uint32) []error

func (*EbpfCollector) AttachSSlUprobes added in v0.2.0

func (e *EbpfCollector) AttachSSlUprobes(pid uint32, executablePath string, version string) error

func (*EbpfCollector) AttachSslUprobesOnProcess added in v0.2.0

func (t *EbpfCollector) AttachSslUprobesOnProcess(procfs string, pid uint32) []error

func (*EbpfCollector) AttachUprobesForEncrypted added in v0.2.1

func (e *EbpfCollector) AttachUprobesForEncrypted()

runs as one goroutine

func (*EbpfCollector) Done

func (e *EbpfCollector) Done() chan struct{}

func (*EbpfCollector) EbpfEvents

func (e *EbpfCollector) EbpfEvents() chan interface{}

func (*EbpfCollector) EbpfProcEvents added in v0.5.0

func (e *EbpfCollector) EbpfProcEvents() chan interface{}

func (*EbpfCollector) EbpfTcpEvents added in v0.5.1

func (e *EbpfCollector) EbpfTcpEvents() chan interface{}

func (*EbpfCollector) Init added in v0.5.1

func (e *EbpfCollector) Init()

func (*EbpfCollector) ListenEvents added in v0.5.1

func (e *EbpfCollector) ListenEvents()

func (*EbpfCollector) Load added in v0.8.0

func (e *EbpfCollector) Load()

func (*EbpfCollector) TlsAttachQueue added in v0.5.1

func (e *EbpfCollector) TlsAttachQueue() chan uint32

type Program added in v0.5.1

type Program interface {
	Attach()                                          // attach links to programs, in case error process must exit
	InitMaps()                                        // initialize bpf map readers, must be called before Consume
	Consume(ctx context.Context, ch chan interface{}) // consume bpf events, publishes to chan provided
	Close()                                           // release resources
}

Directories

Path Synopsis
c

Jump to

Keyboard shortcuts

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