tracer

package
v0.11.0-rc Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	TargetPid  int
	MaxRows    int
	Interval   time.Duration
	SortBy     []string
	MountnsMap *ebpf.Map
}

type Tracer

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

func NewTracer

func NewTracer(config *Config, enricher gadgets.DataEnricher,
	eventCallback func(*top.Event[types.Stats]),
) (*Tracer, error)

func (*Tracer) Stop

func (t *Tracer) Stop()

Jump to

Keyboard shortcuts

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