modebpf

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EBPFFullMount  string = "bpf /sys/fs/bpf bpf"
	EBPFSYSFSMount string = "/sys/fs/bpf"
)
View Source
const (
	DefaultEBPFFileSystemDataDir = "/sys/fs/bpf"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EBPFFileSystemData

type EBPFFileSystemData struct {
	Maps  map[string]*Map
	Progs map[string]*Prog
}

EBPFFileSystemData is structured data from /sys/fs/bpf/*

func NewEBPFFileSystemData

func NewEBPFFileSystemData() (*EBPFFileSystemData, error)

type EBPFModule

type EBPFModule struct {
}

func NewEBPFModule

func NewEBPFModule() *EBPFModule

func (*EBPFModule) Execute

func (*EBPFModule) Meta

func (m *EBPFModule) Meta() *module.Meta

type EBPFModuleResult

type EBPFModuleResult struct {
	Mounts string
	// contains filtered or unexported fields
}

type Map

type Map struct {
	ID         string
	Name       string
	MaxEntries string
}

type Prog

type Prog struct {
	ID       string
	Name     string
	Attached string
}

Jump to

Keyboard shortcuts

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