Linux profiling tools

Post Reply
Yogurt
Posts: 1
Joined: Sat Aug 01, 2020 5:06 am
languages_spoken: english
ODROIDs: C4
Has thanked: 0
Been thanked: 0
Contact:

Linux profiling tools

Post by Yogurt »

Hi,

I'm trying to profile some code using my C4 and it looks like `perf` and `bpftool` are not available as a result of the package `linux-tools` not being available for the stock kernel (4.9.218-25). Linux tools does look to be available for the 5.4 kernel. Is there a way to request this package get built and made available in the repos, to update my kernel to 5.4 or do I need to build linux-tools myself?

Example:

Code: Select all

root@odroid:~# perf
WARNING: perf not found for kernel 4.9.218

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

  You may also want to install one of the following packages to keep up to date:
    linux-tools-25
    linux-cloud-tools-25
root@odroid:~# bpftool
WARNING: bpftool not found for kernel 4.9.218

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

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

Code: Select all

root@odroid:~# apt install linux-tools-4.9.218-25
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-tools-4.9.218-25

Thanks.

User avatar
odroid
Site Admin
Posts: 34947
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 960 times
Been thanked: 775 times
Contact:

Re: Linux profiling tools

Post by odroid »

We will look into that several days later due to some urgent issues.

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 1 guest