bpffs

package
v0.0.0-...-e6b321d Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const BPFFSPath = "/sys/fs/bpf"

Variables

View Source
var FsMagicBPFFS int32

Functions

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 mounts 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