Files
cgproxy/execsnoop-libbpf
..
2020-06-21 22:07:30 +08:00

Resource

Prons

  • BPF CO-RE (Compile Once Run Everywhere)
  • small memory usage

Cons

  • vmlinux.hdoes not contain #define etc. And often causes confilct with other headers to cause redifinition error
  • comment in code for different types is gone
  • need kernel built with CONFIG_DEBUG_INFO_BTF=y, while ubuntu 20.04 still not

Build

  • see makefile