Add kernel tools to enable perf analysis

This commit is contained in:
Luis Guzmán 2021-05-12 11:12:10 -05:00
parent 9520041579
commit 9615503e03
1 changed files with 2 additions and 1 deletions

View File

@ -327,7 +327,8 @@ echo "# Check and Install HWE kernel if possible..."
HWE_VIR_MOD=$(apt-cache madison linux-image-generic-hwe-$(lsb_release -sr) 2>/dev/null|head -n1|grep -c "hwe-$(lsb_release -sr)")
if [ "$HWE_VIR_MOD" = "1" ]; then
apt-get -y install \
linux-image-generic-hwe-$(lsb_release -sr)
linux-image-generic-hwe-$(lsb_release -sr) \
linux-tools-generic-hwe-$(lsb_release -sr)
else
apt-get -y install \
linux-image-generic \