Proposed fix is attached.
Tested on a local vm with kernel focal-5.4.0-143.160. Initially, sudo apt install lttng-modules-dkms failed for obvious reasons.
Manually installed the new deb ~20.0.5:
ubuntu@focal-143:~/lttng$ dpkg -l | grep lttng-modules ii lttng-modules-dkms 2.12.5-1ubuntu2~20.04.5 all Linux Trace Toolkit (LTTng) kernel modules (DKMS)
Proposed fix is attached.
Tested on a local vm with kernel focal-5. 4.0-143. 160.
Initially, sudo apt install lttng-modules-dkms failed for obvious reasons.
Manually installed the new deb ~20.0.5:
ubuntu@ focal-143: ~/lttng$ dpkg -l | grep lttng-modules 1ubuntu2~ 20.04.5 all Linux Trace Toolkit (LTTng) kernel modules (DKMS)
ii lttng-modules-dkms 2.12.5-