network

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRunner

func NewRunner(config *base.TaskConfig, moduleMgr *module.Manager) (base.ProfileTaskRunner, error)

Types

type DelegateRunner

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

func (*DelegateRunner) FlushData

func (r *DelegateRunner) FlushData() ([]*v3.EBPFProfilingData, error)

func (*DelegateRunner) Init

func (r *DelegateRunner) Init(task *base.ProfilingTask, processes []api.ProcessInterface) error

func (*DelegateRunner) Run

func (*DelegateRunner) Stop

func (r *DelegateRunner) Stop() error

type GoStringInC

type GoStringInC struct {
	Ptr  uint64
	Size uint64
}

type GoTLSSymbolAddresses

type GoTLSSymbolAddresses struct {
	// net.Conn addresses
	FDSysFDOffset uint64
	TLSConnOffset uint64
	GIDOffset     uint64
	TCPConnOffset uint64

	// casgstatus(goroutine status change) function relate locations
	CasgStatusGPLoc     SymbolLocation
	CasgStatusNEWValLoc SymbolLocation

	// write function relate locations
	WriteConnectionLoc SymbolLocation
	WriteBufferLoc     SymbolLocation
	WriteRet0Loc       SymbolLocation
	WriteRet1Loc       SymbolLocation

	// write function relate locations
	ReadConnectionLoc SymbolLocation
	ReadBufferLoc     SymbolLocation
	ReadRet0Loc       SymbolLocation
	ReadRet1Loc       SymbolLocation
}

type NodeTLSAddrInBPF

type NodeTLSAddrInBPF struct {
	TLSWrapStreamListenerOffset     uint32
	StreamListenerStreamOffset      uint32
	StreamBaseStreamResourceOffset  uint32
	LibuvStreamWrapStreamBaseOffset uint32
	LibuvStreamWrapStreamOffset     uint32
	UVStreamSIOWatcherOffset        uint32
	UVIOSFDOffset                   uint32
}

type OpenSSLFdSymAddrConfigInBPF

type OpenSSLFdSymAddrConfigInBPF struct {
	BIOReadOffset  uint32
	BIOWriteOffset uint32
	FDOffset       uint32
}

type Runner

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

func NewGlobalRunnerContext

func NewGlobalRunnerContext() *Runner

func (*Runner) DeleteProcesses

func (r *Runner) DeleteProcesses(processes []api.ProcessInterface) (bool, error)

func (*Runner) Start

func (r *Runner) Start(ctx context.Context, task *base.ProfilingTask, processes []api.ProcessInterface) error

func (*Runner) Stop

func (r *Runner) Stop() error

type SymbolLocation

type SymbolLocation struct {
	Type   base.GoTLSArgsLocationType
	Offset uint32
}

Jump to

Keyboard shortcuts

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