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
Akihiro Suda 9f9a0b872c
vendor: github.com/cilium/ebpf v0.6.2
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-07-19 15:57:52 +09:00
..
headers
kprobe/bpf vendor: github.com/cilium/ebpf v0.6.2 2021-07-19 15:57:52 +09:00
uretprobe/bpf vendor: github.com/cilium/ebpf v0.6.2 2021-07-19 15:57:52 +09:00
go.mod vendor: github.com/cilium/ebpf v0.6.2 2021-07-19 15:57:52 +09:00
README.md vendor: github.com/cilium/ebpf v0.6.2 2021-07-19 15:57:52 +09:00

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, ...]