gotracer

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tracer

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

func New

func New(cfg *beyla.Config, metrics imetrics.Reporter) *Tracer

func (*Tracer) AddCloser

func (p *Tracer) AddCloser(c ...io.Closer)

func (*Tracer) AddModuleCloser

func (p *Tracer) AddModuleCloser(_ uint64, _ ...io.Closer)

func (*Tracer) AllowPID

func (p *Tracer) AllowPID(pid, ns uint32, svc *svc.Attrs)

func (*Tracer) AlreadyInstrumentedLib

func (p *Tracer) AlreadyInstrumentedLib(_ uint64) bool

func (*Tracer) BlockPID

func (p *Tracer) BlockPID(pid, ns uint32)

func (*Tracer) BpfObjects

func (p *Tracer) BpfObjects() any

func (*Tracer) Constants

func (p *Tracer) Constants() map[string]any

func (*Tracer) GoProbes

func (p *Tracer) GoProbes() map[string][]ebpfcommon.FunctionPrograms

func (*Tracer) KProbes

func (p *Tracer) KProbes() map[string]ebpfcommon.FunctionPrograms

func (*Tracer) Load

func (p *Tracer) Load() (*ebpf.CollectionSpec, error)

func (*Tracer) RecordInstrumentedLib

func (p *Tracer) RecordInstrumentedLib(_ uint64)

func (*Tracer) RegisterOffsets

func (p *Tracer) RegisterOffsets(fileInfo *exec.FileInfo, offsets *goexec.Offsets)

func (*Tracer) Run

func (p *Tracer) Run(ctx context.Context, eventsChan chan<- []request.Span)

func (*Tracer) SetupTC

func (p *Tracer) SetupTC()

func (*Tracer) SetupTailCalls

func (p *Tracer) SetupTailCalls()

func (*Tracer) SocketFilters

func (p *Tracer) SocketFilters() []*ebpf.Program

func (*Tracer) Tracepoints

func (p *Tracer) Tracepoints() map[string]ebpfcommon.FunctionPrograms

func (*Tracer) UProbes

func (p *Tracer) UProbes() map[string]map[string]ebpfcommon.FunctionPrograms

func (*Tracer) UnlinkInstrumentedLib

func (p *Tracer) UnlinkInstrumentedLib(_ uint64)

Jump to

Keyboard shortcuts

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