1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/vendor/github.com/cilium/ebpf/examples
..
headers
kprobe/bpf
uretprobe/bpf
go.mod
README.md

eBPF Examples

  • kprobe - Attach a program to the entry or exit of an arbitrary kernel symbol (function).
  • uretprobe - Like a kprobe, but for symbols in userspace binaries (e.g. bash).
  • tracepoint - Attach a program to predetermined kernel tracepoints.
  • Add your use case(s) here!

How to run

cd ebpf/examples/
go run -exec sudo [./kprobe, ./uretprobe, ./tracepoint, ...]