Hi Andres,
I now found out that I do have a 'perf' living under one of 'usr'
folders, but unfortunately, this is the 6.8 kernel version:
/usr/lib/linux-tools-6.8.0-85
None of the other suggested packages and their likely install folders
seem to contain perf.
Since perf appears and rather understandably seems to need to exactly
match the kernel version, I can't use this one, as my kernel was already
upgraded to 6.14 by a more or less forced update in Software Updater. It
is a pain the linux-tools-common package, that I suspect is the source
of the 6.8 'perf' version and folder and tagged as that version in
Synaptic, isn't being updated at the same time to allow you to run
'perf' with the proper version.
I guess I will need to wait for an update of it.
Marco
Op 6-10-2025 om 19:09 schreef Andres Freund:
> Hi,
>
> On 2025-10-06 19:01:37 +0200, Marco Boeringa wrote:
>> Thanks for the suggestion, this seems a useful option.
>>
>> However, when I attempt to run "perf top" in a Terminal window, I get the
>> following warning:
>>
>> WARNING: perf not found for kernel 6.14.0-1012
>>
>> I also see a suggestion to install the Azure linux-tools. However, if I type
>> 'linux-tools' as search keyword in Synaptic Package Manager, I see a whole
>> bunch of 'linux-tools', e.g. azure/aws/gcp/gke, which also include kernel
>> version build numbers (at least that is what I assume they are).
>>
>> What version do you suggest I install for an ordinary locally running Ubuntu
>> 24.04 VM?
> There are meta-packages to install linux-tools for the right
> version. E.g. linux-tools-virtual. Unfortunately ubuntu has multiple "kernel
> variants" (like -virtual) that you still have to choose between.
>
> You can figure out which base kernel you have with "dpkg -l|grep linux" or
> such.
>
> Greetings,
>
> Andres