aquasecurity / btfhub

BTFhub, in collaboration with the BTFhub Archive repository, supplies BTF files for all published kernels that lack native support for embedded BTF. This joint effort ensures that even kernels without built-in BTF support can effectively leverage the benefits of eBPF programs, promoting compatibility across various kernel versions.
Apache License 2.0
387 stars 45 forks source link

repository: mark kernel packages that contains BTF already #69

Closed rafaeldtinoco closed 1 year ago

rafaeldtinoco commented 1 year ago

This will avoid new downloads, over and over, on re-runs, of the first kernel package that contains a BTF ELF section on it. Currently this is the way it works:

  1. Kernel versions that already contain a .btf.tar.xz file are skiped.
  2. A kernel version that has a .failed file is skiped.
  3. The first kernel that contains BTF support is never skipped.