package testmain
import "github.com/cilium/ebpf/internal/testutils/testmain"
Index ¶
Functions ¶
func ForgetFD ¶
func ForgetFD(raw int)
ForgetFD removes any existing association for raw.
func LeakFD ¶
func LeakFD(raw int)
LeakFD indicates that raw was leaked.
Calling the function with a value that was not passed to TraceFD before is undefined.
func Run ¶
func Run(m testingM)
Run m with various debug aids enabled.
The function calls os.Exit and does not return.
func TraceFD ¶
TraceFD associates raw with the current execution stack.
skip controls how many entries of the stack the function should skip.
Source Files ¶
fd_trace.go main.go windows.go
- Version
- v0.18.0 (latest)
- Published
- Apr 2, 2025
- Platform
- linux/amd64
- Imports
- 16 packages
- Last checked
- 1 week ago –
Tools for package owners.