Skip to content

Add metadata to the generated BPF object

Benjamin Tissoires requested to merge wip/btf-metadata into main

On top of !20 (merged)

Inspired by the libXDP folks.

Still a WIP, no tests are there for now and it's not actually "used"

missing before merge:

  • documentation
  • tests? (not sure how we can do them)
  • add an attach command to manually load any other bpf program on a given device (useful for the tracing case)
Edited by Benjamin Tissoires

Merge request reports