It looks like these kernel releases no longer place the UTS_VERSION variable in the generated/compile.h header file, instead favouring a dedicated file, generated/utsversion.h. Therefore get it from here.
This is untested but should not cause any regressions. We will know if this works because COS probes for kernel versions >= 6 will be formatted with a kernel version number, if it can be found.
Fixes https://github.com/thought-machine/falco-probes/issues/79
It looks like these kernel releases no longer place the
UTS_VERSION
variable in thegenerated/compile.h
header file, instead favouring a dedicated file,generated/utsversion.h
. Therefore get it from here.This is untested but should not cause any regressions. We will know if this works because COS probes for kernel versions >= 6 will be formatted with a kernel version number, if it can be found.