fs

package
v0.0.0-...-5425248 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BPFFSPath = `/sys/fs/bpf`
)

Functions

func GetPinningDir

func GetPinningDir() string

func GetPinningFile

func GetPinningFile(objName string) string

func IsMounted

func IsMounted() (bool, error)

IsMounted checks if the BPF fs is mounted already in the default location

func IsMountedAt

func IsMountedAt(mountpoint string) (bool, error)

IsMountedAt checks if the BPF fs is mounted already in the custom location

func Mount

func Mount() error

Mount the BPF fs in the default location (if not already mounted)

func MountAt

func MountAt(mountpoint string) error

MountAt mounts the BPF fs in the custom location (if not already mounted)

Types

This section is empty.

Jump to

Keyboard shortcuts

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