Documentation ¶
Overview ¶
Package bpfiterns reads a ebpf iterator in a different namespace.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Read ¶
Read reads the iterator in the host pid namespace. It will test if the current pid namespace is the host pid namespace.
func ReadOnCurrentPidNs ¶
ReadOnCurrentPidNs reads the iterator in the current pid namespace.
func ReadOnHostPidNs ¶
ReadOnHostPidNs reads the iterator in the host pid namespace. It does so by pinning the iterator in a temporary directory in the host bpffs, and then creating a systemd service that will read the iterator and write it to a temporary pipe. The pipe is then read and returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.