tracer

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 17 Imported by: 3

Documentation

Index

Constants

View Source
const (
	BPFSocketAttach = 50
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Tracer

type Tracer struct {

	// Cache to store already enriched events from terminated (detached)
	// containers.
	sync.Mutex
	// contains filtered or unexported fields
}

func NewTracer

func NewTracer(enricher gadgets.DataEnricherByNetNs) (_ *Tracer, err error)

func (*Tracer) Attach

func (t *Tracer) Attach(pid uint32) (err error)

func (*Tracer) Close

func (t *Tracer) Close()

func (*Tracer) Detach

func (t *Tracer) Detach(pid uint32) error

func (*Tracer) Pop

func (t *Tracer) Pop() (events []*types.Event, err error)

Jump to

Keyboard shortcuts

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