kconfig

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckBPFEnabled

func CheckBPFEnabled() error

CheckBPFEnabled returns non-nil error if all required kconfig options for running the BPF program are NOT enabled.

func IsInContainer

func IsInContainer() (bool, error)

IsInContainer returns true is the process is running in a container TODO: Add a container detection via Sched to cover more scenarios https://man7.org/linux/man-pages/man7/sched.7.html

Types

This section is empty.

Jump to

Keyboard shortcuts

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