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
377 stars 43 forks source link

SUSE filenames do not match output of uname -r #106

Closed brycekahle closed 10 months ago

brycekahle commented 10 months ago

From https://www.suse.com/support/kb/doc/?id=000019126

To break down the output of our example "kernel-default-4.4.114-92.64.1.x86_64":

kernel-default-: This is the package name. For kernel packages "default" (after dash in name) is the kernel flavor. 4.4.114-: This is the kernel version. 92.64: Package release. .1: The build counter. .x86_64: The kernel architecture.

The build counter is not reported in "uname -r" because it is for build service bookkeeping and does not denote a change in the kernel package.

I'm fixing this now in btfhub and generating new BTF tarballs, but figured I'd file an issue in case anyone comes looking.