Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProcContainerCgroupPath = "/proc/1/cgroup" ProcContainerSchedPath = "/proc/1/sched" )
View Source
const ( SysKernelBtfVmlinux = "/sys/kernel/btf/vmlinux" ConfigDebugInfoBtf = "CONFIG_DEBUG_INFO_BTF" )
Variables ¶
This section is empty.
Functions ¶
func GetSystemConfig ¶
func IsContainer ¶
IsContainer returns true if the process is running in a container.
func IsEnableBTF ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.