The original post: /r/ubuntu by /u/Primary_Olive_5444 on 2024-12-26 01:58:47.

Folks - having issue to get perf stat running.

Any fixes/solution please?

Device - Intel Meteor Lake laptop (heard 6.10 kernel improves battery and gain performance that’s why i installed)

https://www.tomshardware.com/pc-components/cpus/single-line-meteor-lake-linux-patch-boosts-performance-by-72

uname -r

6.10.1-061001-generic

lsb_release -a

Description: Ubuntu 24.04.1 LTS

in /usr/bin/ i can see the perf executable file

which perf

/usr/bin/perf

perf stat ./fairness

Warning msg

WARNING: perf not found for kernel 6.10.1-061001 You may need to install the following packages for this specific kernel:

linux-tools-6.10.1-061001-generic

linux-cloud-tools-6.10.1-061001-generic

You may also want to install one of the following packages to keep up to date:

linux-tools-generic

linux-cloud-tools-generic