About perf tool for linux-libre kernel

2 réponses [Dernière contribution]
hwpplayer1
Hors ligne
A rejoint: 07/19/2015

I tried perf report but it gave that output :

hwpplayer1@hwpplayer1-Aspire-V3-772G:~$ perf report
WARNING: perf not found for kernel 5.4.28

You may need to install the following packages for this specific kernel:
linux-tools-5.4.28-gnu
linux-cloud-tools-5.4.28-gnu

You may also want to install one of the following packages to keep up
to date:
linux-tools-gnu
linux-cloud-tools-gnu

hwpplayer1@hwpplayer1-Aspire-V3-772G:~$ sudo apt-get install
linux-tools-5.4.28-gnu
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-tools-5.4.28-gnu
E: Couldn't find any package by glob 'linux-tools-5.4.28-gnu'
E: Couldn't find any package by regex 'linux-tools-5.4.28-gnu'
hwpplayer1@hwpplayer1-Aspire-V3-772G:~$ sudo apt-get install
linux-cloud-tools-5.4.28-gnu
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-cloud-tools-5.4.28-gnu
E: Couldn't find any package by glob 'linux-cloud-tools-5.4.28-gnu'
E: Couldn't find any package by regex 'linux-cloud-tools-5.4.28-gnu'

hwpplayer1@hwpplayer1-Aspire-V3-772G:~$ sudo apt-get install linux-tools-gnu
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-tools-gnu
hwpplayer1@hwpplayer1-Aspire-V3-772G:~$ sudo apt-get install
linux-cloud-tools-gnu
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-cloud-tools-gnu

so what should i do ?

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

Trisquel's repository has "linux-cloud-tools-*" packages. It does not looks like jxself's Linux-libre repository (where you certainly fetched your newer kernel) has them.

hwpplayer1
Hors ligne
A rejoint: 07/19/2015

First thanks for reply I talked with jxself at #linux-libre channel jxself said i can build perf tool from source and said that he will think about adding userspace programs while compiling the kernel as i understand

So i will try to build perf when i need it maybe this is the solution for now

Thanks have a great day and do stay safe !