The library now supports most kinds of CO-RE relocations!
Breaking changes
- None
Features
- CO-RE relocations make writing portable kprobes a lot easier. We now have support for a good chunk of them.
- kretprobes are a little more robust to kernel ABI changes.
- uprobes and uretprobes are now supported.
- ProgramOptions has a TargetBTF member which allows specifying a custom target. Use this to support distro kernels that don't have built in BTF.
raw_tp
andtp_btf
sections are now recognised.- compatibility with libbpf has increased.
- PerfEventArray should now be useable without having to change PerfEventArray.MaxEntries.
Examples
- The uprobe example uses the new API in link.
Contributors
Gilberto Bertin
Lorenz Bauer
Mattia
Mattia Meleleo
nevermosby
Timo Beckers
Thank you for your work!