examples/ directory

Directories

PathSynopsis
examples/cgroup_skbThis program demonstrates attaching an eBPF program to a control group.
examples/fentry
examples/kprobeThis program demonstrates attaching an eBPF program to a kernel symbol.
examples/kprobe_percpuThis program demonstrates attaching an eBPF program to a kernel symbol and using percpu map to collect data.
examples/kprobepinThis program demonstrates attaching an eBPF program to a kernel symbol.
examples/map_in_mapAn example of using maps within maps.
examples/tcprtt
examples/tcxThis program demonstrates attaching an eBPF program to a network interface with Linux TCX (Traffic Control with eBPF).
examples/tracepoint_in_cThis program demonstrates attaching an eBPF program to a kernel tracepoint.
examples/tracepoint_in_goThis program demonstrates how to attach an eBPF program to a tracepoint.
examples/xdpThis program demonstrates attaching an eBPF program to a network interface with XDP (eXpress Data Path).
Version
v0.17.1
Published
Dec 20, 2024
Platform
darwin/amd64
Last checked
1 hour ago

Tools for package owners.