[Help] How to install "perf" command in Nano ?

Hi:
after executing “sudo apt-get install linux-tools-common” and type “perf”
it shows below and thus the “perf” command is still not installed.
what steps I shall take to complete the installation ?!

ycw@ycw-desktop:~$ perf
WARNING: perf not found for kernel 4.9.140

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

You may also want to install one of the following packages to keep up to date:
linux-tools-tegra
linux-cloud-tools-tegra
ycw@ycw-desktop:~$ sudo apt-get install linux-tools-4.9.140-tegra
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package linux-tools-4.9.140-tegra
E: Couldn’t find any package by glob ‘linux-tools-4.9.140-tegra’
E: Couldn’t find any package by regex ‘linux-tools-4.9.140-tegra’

There is no repository installed by default that contains those packages.
The L4T software page lists a bunch of downloads, but not any APT repository addresses:


So, as far as I can tell, you’ll have to use the NVIDIA cross-tools to debug/profile on the Jetson from your Linux host machine.

Thanks, and would you mind elaborating it or list some commands for example ? “NVIDIA cross-tools”

The NVIDIA tegra development studio tools that are installed on the host by the SDK Manager installer application.
For example, Tegra System Profiler.