Trying to use the perf tool for performance benchmark

When I try to run the perf command I get :

perf
WARNING: perf not found for kernel 5.10.192

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

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

When I try to either :

  • sudo apt install linux-tools-tegra
  • sudo apt install linux-tools-5.10.192-tegra
  • etc
    I always get :
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package linux-tools-5.10.192-tegra
E: Couldn't find any package by glob 'linux-tools-5.10.192-tegra'

I am running on aarch/arm, more specifically on Jetson Jetpack5. I am trying to benchmark an application and I read that perf is a good tool when using linux.

Hi,
You should need to enable certain kernel configs to build the packages. Please check which config s are required.

FYI, this post may help:
Installing Linux performance monitoring tools on Jetson TX2 - #4 by Honey_Patouceul

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.