uprobe

package
v0.0.0-...-baa3643 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 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 BpfSession

type BpfSession struct {
	Session   *core.Session
	BpfProbes []io.Closer
	// internal field
	BpfObjs *bpfObjects
	// internal field
	Reader *core.BpfReader
}

func NewBpfSession

func NewBpfSession(name string, config *core.SessionConfig, buf chan *model.SpyEvent) *BpfSession

func (*BpfSession) ConsumeEvent

func (b *BpfSession) ConsumeEvent() error

func (*BpfSession) Name

func (b *BpfSession) Name() string

func (*BpfSession) ReadData

func (b *BpfSession) ReadData(data []byte) error

func (*BpfSession) SendToReceiver

func (b *BpfSession) SendToReceiver() error

func (*BpfSession) Start

func (b *BpfSession) Start() error

func (*BpfSession) Stop

func (b *BpfSession) Stop() error

Jump to

Keyboard shortcuts

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