I’m trying to install perf for my Rpi, but to no avail.
I need it for identifying the number of instructions of the code run on it
My OS is Ubuntu MATE 16.04.
$ uname -a
Linux Pi3B 4.14.4-v7+ #1060 SMP Tue Dec 5 16:01:44 GMT 2017 armv7l armv7l armv7l GNU/Linux
$ sudo apt-get install linux-tools-4.14.4-v7+
However, there’s error “E: Unable to locate package linux-tools-4.14.4-v7”.
I’d seen steps about installing perf on Raspbian image, but none on Ubuntu MATE.
Does it mean that perf is not supported in Ubuntu MATE at Rpi3?
How can I solve this issue?
The latest Ubuntu distro to have a linux-tools package is Trusty (14.04), in version 3.13. The package has been dropped afterwards. I suspect its content has been merged with another kernel-related one.
The questions are: 1) why do you need the package for Perf (i.e. which softwares previously installed by linux-tools does it need); and 2) does Perf has a dependancy specific to this package or not?
I need the Linux perf command to calculate the no. of instructions executed by that particular piece of code.
When I type perf, this is what I get:
$ perf
WARNING: perf not found for kernel 4.14.4
You may need to install the following packages for this specific kernel:
linux-tools-4.14.4-v7+
linux-cloud-tools-4.14.4-v7+
You may also want to install one of the following packages to keep up to date:
linux-tools-v7+
linux-cloud-tools-v7+
Then, I’d tried:
$ sudo apt-get install linux-tools-4.14.4-v7+
However, there’s error “E: Unable to locate package linux-tools-4.14.4-v7”.
Through the command apt-cache search linux-tools, I found that there’s no linux-tools-4.14.4.
$ apt-cache search linux-tools
linux-tools-common - Linux kernel version specific tools for version 4.4.0
linux-tools-generic - Generic Linux kernel tools
linux-tools-generic-lts-utopic - Generic Linux kernel tools (dummy transitional package)
linux-tools-generic-lts-vivid - Generic Linux kernel tools (dummy transitional package)
linux-tools-generic-lts-wily - Generic Linux kernel tools (dummy transitional package)
linux-tools-generic-lts-xenial - Generic Linux kernel tools (dummy transitional package)
linux-tools-lts-utopic - Linux kernel versioned Tools (dummy transitional package)
linux-tools-4.4.0-21 - Linux kernel version specific tools for version 4.4.0-21
linux-tools-4.4.0-21-generic - Linux kernel version specific tools for version 4.4.0-21
linux-tools-4.4.0-21-generic-lpae - Linux kernel version specific tools for version 4.4.0-21
linux-tools-generic-lpae - Generic Linux kernel tools
linux-tools-generic-lpae-lts-utopic - Generic Linux kernel tools (dummy transitional package)
linux-tools-generic-lpae-lts-vivid - Generic Linux kernel tools (dummy transitional package)
linux-tools-generic-lpae-lts-wily - Generic Linux kernel tools (dummy transitional package)
linux-tools-generic-lpae-lts-xenial - Generic Linux kernel tools (dummy transitional package)
linux-goldfish-tools-3.4.0-4 - Linux kernel version specific tools for version 3.4.0-4
linux-raspi2-tools-4.4.0-1009 - Linux kernel version specific tools for version 4.4.0-1009
linux-tools-3.4.0-4-goldfish - Linux kernel version specific tools for version 3.4.0-4
linux-tools-4.4.0-1009-raspi2 - Linux kernel version specific tools for version 4.4.0-1009
linux-tools-flo - Linux kernel versioned Tools for the Nexus7 (flo).
linux-tools-goldfish - Linux kernel tools for the goldfish kernel.
linux-tools-hammerhead - Linux kernel versioned Tools for the Nexus 5 (hammerhead).
linux-tools-raspi2 - Linux kernel versioned Tools.
linux-tools-generic-hwe-16.04 - Generic Linux kernel tools
linux-tools-generic-hwe-16.04-edge - Generic Linux kernel tools
linux-hwe-edge-tools-4.10.0-14 - Linux kernel version specific tools for version 4.10.0-14
linux-hwe-edge-tools-4.10.0-19 - Linux kernel version specific tools for version 4.10.0-19
linux-hwe-edge-tools-4.10.0-20 - Linux kernel version specific tools for version 4.10.0-20
linux-hwe-edge-tools-4.10.0-21 - Linux kernel version specific tools for version 4.10.0-21
linux-hwe-edge-tools-4.10.0-22 - Linux kernel version specific tools for version 4.10.0-22
linux-hwe-edge-tools-4.10.0-24 - Linux kernel version specific tools for version 4.10.0-24
linux-hwe-edge-tools-4.10.0-26 - Linux kernel version specific tools for version 4.10.0-26
linux-hwe-edge-tools-4.11.0-13 - Linux kernel version specific tools for version 4.11.0-13
linux-hwe-edge-tools-4.11.0-14 - Linux kernel version specific tools for version 4.11.0-14
linux-hwe-edge-tools-4.13.0-16 - Linux kernel version specific tools for version 4.13.0-16
linux-hwe-edge-tools-4.13.0-17 - Linux kernel version specific tools for version 4.13.0-17
linux-hwe-edge-tools-4.13.0-19 - Linux kernel version specific tools for version 4.13.0-19
linux-hwe-edge-tools-4.13.0-21 - Linux kernel version specific tools for version 4.13.0-21
linux-hwe-edge-tools-4.8.0-34 - Linux kernel version specific tools for version 4.8.0-34
linux-hwe-tools-4.10.0-27 - Linux kernel version specific tools for version 4.10.0-27
linux-hwe-tools-4.10.0-28 - Linux kernel version specific tools for version 4.10.0-28
linux-hwe-tools-4.10.0-30 - Linux kernel version specific tools for version 4.10.0-30
linux-hwe-tools-4.10.0-32 - Linux kernel version specific tools for version 4.10.0-32
linux-hwe-tools-4.10.0-33 - Linux kernel version specific tools for version 4.10.0-33
linux-hwe-tools-4.10.0-35 - Linux kernel version specific tools for version 4.10.0-35
linux-hwe-tools-4.10.0-37 - Linux kernel version specific tools for version 4.10.0-37
linux-hwe-tools-4.10.0-38 - Linux kernel version specific tools for version 4.10.0-38
linux-hwe-tools-4.10.0-40 - Linux kernel version specific tools for version 4.10.0-40
linux-hwe-tools-4.10.0-42 - Linux kernel version specific tools for version 4.10.0-42
linux-hwe-tools-4.8.0-36 - Linux kernel version specific tools for version 4.8.0-36
linux-hwe-tools-4.8.0-39 - Linux kernel version specific tools for version 4.8.0-39
linux-hwe-tools-4.8.0-41 - Linux kernel version specific tools for version 4.8.0-41
linux-hwe-tools-4.8.0-42 - Linux kernel version specific tools for version 4.8.0-42
linux-hwe-tools-4.8.0-44 - Linux kernel version specific tools for version 4.8.0-44
linux-hwe-tools-4.8.0-45 - Linux kernel version specific tools for version 4.8.0-45
linux-hwe-tools-4.8.0-46 - Linux kernel version specific tools for version 4.8.0-46
linux-hwe-tools-4.8.0-49 - Linux kernel version specific tools for version 4.8.0-49
linux-hwe-tools-4.8.0-51 - Linux kernel version specific tools for version 4.8.0-51
linux-hwe-tools-4.8.0-52 - Linux kernel version specific tools for version 4.8.0-52
linux-hwe-tools-4.8.0-53 - Linux kernel version specific tools for version 4.8.0-53
linux-hwe-tools-4.8.0-54 - Linux kernel version specific tools for version 4.8.0-54
linux-hwe-tools-4.8.0-56 - Linux kernel version specific tools for version 4.8.0-56
linux-hwe-tools-4.8.0-58 - Linux kernel version specific tools for version 4.8.0-58
linux-tools-4.10.0-14-generic - Linux kernel version specific tools for version 4.10.0-14
linux-tools-4.10.0-14-generic-lpae - Linux kernel version specific tools for version 4.10.0-14
linux-tools-4.10.0-19-generic - Linux kernel version specific tools for version 4.10.0-19
linux-tools-4.10.0-19-generic-lpae - Linux kernel version specific tools for version 4.10.0-19
linux-tools-4.10.0-20-generic - Linux kernel version specific tools for version 4.10.0-20
linux-tools-4.10.0-20-generic-lpae - Linux kernel version specific tools for version 4.10.0-20
linux-tools-4.10.0-21-generic - Linux kernel version specific tools for version 4.10.0-21
linux-tools-4.10.0-21-generic-lpae - Linux kernel version specific tools for version 4.10.0-21
linux-tools-4.10.0-22-generic - Linux kernel version specific tools for version 4.10.0-22
linux-tools-4.10.0-22-generic-lpae - Linux kernel version specific tools for version 4.10.0-22
linux-tools-4.10.0-24-generic - Linux kernel version specific tools for version 4.10.0-24
linux-tools-4.10.0-24-generic-lpae - Linux kernel version specific tools for version 4.10.0-24
linux-tools-4.10.0-26-generic - Linux kernel version specific tools for version 4.10.0-26
linux-tools-4.10.0-26-generic-lpae - Linux kernel version specific tools for version 4.10.0-26
linux-tools-4.10.0-27-generic - Linux kernel version specific tools for version 4.10.0-27
linux-tools-4.10.0-27-generic-lpae - Linux kernel version specific tools for version 4.10.0-27
linux-tools-4.10.0-28-generic - Linux kernel version specific tools for version 4.10.0-28
linux-tools-4.10.0-28-generic-lpae - Linux kernel version specific tools for version 4.10.0-28
linux-tools-4.10.0-30-generic - Linux kernel version specific tools for version 4.10.0-30
linux-tools-4.10.0-30-generic-lpae - Linux kernel version specific tools for version 4.10.0-30
linux-tools-4.10.0-32-generic - Linux kernel version specific tools for version 4.10.0-32
linux-tools-4.10.0-32-generic-lpae - Linux kernel version specific tools for version 4.10.0-32
linux-tools-4.10.0-33-generic - Linux kernel version specific tools for version 4.10.0-33
linux-tools-4.10.0-33-generic-lpae - Linux kernel version specific tools for version 4.10.0-33
linux-tools-4.10.0-35-generic - Linux kernel version specific tools for version 4.10.0-35
linux-tools-4.10.0-35-generic-lpae - Linux kernel version specific tools for version 4.10.0-35
linux-tools-4.10.0-37-generic - Linux kernel version specific tools for version 4.10.0-37
linux-tools-4.10.0-37-generic-lpae - Linux kernel version specific tools for version 4.10.0-37
linux-tools-4.10.0-38-generic - Linux kernel version specific tools for version 4.10.0-38
linux-tools-4.10.0-38-generic-lpae - Linux kernel version specific tools for version 4.10.0-38
linux-tools-4.10.0-40-generic - Linux kernel version specific tools for version 4.10.0-40
linux-tools-4.10.0-40-generic-lpae - Linux kernel version specific tools for version 4.10.0-40
linux-tools-4.10.0-42-generic - Linux kernel version specific tools for version 4.10.0-42
linux-tools-4.10.0-42-generic-lpae - Linux kernel version specific tools for version 4.10.0-42
linux-tools-4.11.0-13-generic - Linux kernel version specific tools for version 4.11.0-13
linux-tools-4.11.0-13-generic-lpae - Linux kernel version specific tools for version 4.11.0-13
linux-tools-4.11.0-14-generic - Linux kernel version specific tools for version 4.11.0-14
linux-tools-4.11.0-14-generic-lpae - Linux kernel version specific tools for version 4.11.0-14
linux-tools-4.13.0-16-generic - Linux kernel version specific tools for version 4.13.0-16
linux-tools-4.13.0-16-generic-lpae - Linux kernel version specific tools for version 4.13.0-16
linux-tools-4.13.0-17-generic - Linux kernel version specific tools for version 4.13.0-17
linux-tools-4.13.0-17-generic-lpae - Linux kernel version specific tools for version 4.13.0-17
linux-tools-4.13.0-19-generic - Linux kernel version specific tools for version 4.13.0-19
linux-tools-4.13.0-19-generic-lpae - Linux kernel version specific tools for version 4.13.0-19
linux-tools-4.13.0-21-generic - Linux kernel version specific tools for version 4.13.0-21
linux-tools-4.13.0-21-generic-lpae - Linux kernel version specific tools for version 4.13.0-21
linux-tools-4.4.0-101 - Linux kernel version specific tools for version 4.4.0-101
linux-tools-4.4.0-101-generic - Linux kernel version specific tools for version 4.4.0-101
linux-tools-4.4.0-101-generic-lpae - Linux kernel version specific tools for version 4.4.0-101
linux-tools-4.4.0-103 - Linux kernel version specific tools for version 4.4.0-103
linux-tools-4.4.0-103-generic - Linux kernel version specific tools for version 4.4.0-103
linux-tools-4.4.0-103-generic-lpae - Linux kernel version specific tools for version 4.4.0-103
linux-tools-4.4.0-104 - Linux kernel version specific tools for version 4.4.0-104
linux-tools-4.4.0-104-generic - Linux kernel version specific tools for version 4.4.0-104
linux-tools-4.4.0-104-generic-lpae - Linux kernel version specific tools for version 4.4.0-104
linux-tools-4.4.0-22 - Linux kernel version specific tools for version 4.4.0-22
linux-tools-4.4.0-22-generic - Linux kernel version specific tools for version 4.4.0-22
linux-tools-4.4.0-22-generic-lpae - Linux kernel version specific tools for version 4.4.0-22
linux-tools-4.4.0-24 - Linux kernel version specific tools for version 4.4.0-24
linux-tools-4.4.0-24-generic - Linux kernel version specific tools for version 4.4.0-24
linux-tools-4.4.0-24-generic-lpae - Linux kernel version specific tools for version 4.4.0-24
linux-tools-4.4.0-28 - Linux kernel version specific tools for version 4.4.0-28
linux-tools-4.4.0-28-generic - Linux kernel version specific tools for version 4.4.0-28
linux-tools-4.4.0-28-generic-lpae - Linux kernel version specific tools for version 4.4.0-28
linux-tools-4.4.0-31 - Linux kernel version specific tools for version 4.4.0-31
linux-tools-4.4.0-31-generic - Linux kernel version specific tools for version 4.4.0-31
linux-tools-4.4.0-31-generic-lpae - Linux kernel version specific tools for version 4.4.0-31
linux-tools-4.4.0-34 - Linux kernel version specific tools for version 4.4.0-34
linux-tools-4.4.0-34-generic - Linux kernel version specific tools for version 4.4.0-34
linux-tools-4.4.0-34-generic-lpae - Linux kernel version specific tools for version 4.4.0-34
linux-tools-4.4.0-36 - Linux kernel version specific tools for version 4.4.0-36
linux-tools-4.4.0-36-generic - Linux kernel version specific tools for version 4.4.0-36
linux-tools-4.4.0-36-generic-lpae - Linux kernel version specific tools for version 4.4.0-36
linux-tools-4.4.0-38 - Linux kernel version specific tools for version 4.4.0-38
linux-tools-4.4.0-38-generic - Linux kernel version specific tools for version 4.4.0-38
linux-tools-4.4.0-38-generic-lpae - Linux kernel version specific tools for version 4.4.0-38
linux-tools-4.4.0-42 - Linux kernel version specific tools for version 4.4.0-42
linux-tools-4.4.0-42-generic - Linux kernel version specific tools for version 4.4.0-42
linux-tools-4.4.0-42-generic-lpae - Linux kernel version specific tools for version 4.4.0-42
linux-tools-4.4.0-43 - Linux kernel version specific tools for version 4.4.0-43
linux-tools-4.4.0-43-generic - Linux kernel version specific tools for version 4.4.0-43
linux-tools-4.4.0-43-generic-lpae - Linux kernel version specific tools for version 4.4.0-43
linux-tools-4.4.0-45 - Linux kernel version specific tools for version 4.4.0-45
linux-tools-4.4.0-45-generic - Linux kernel version specific tools for version 4.4.0-45
linux-tools-4.4.0-45-generic-lpae - Linux kernel version specific tools for version 4.4.0-45
linux-tools-4.4.0-47 - Linux kernel version specific tools for version 4.4.0-47
linux-tools-4.4.0-47-generic - Linux kernel version specific tools for version 4.4.0-47
linux-tools-4.4.0-47-generic-lpae - Linux kernel version specific tools for version 4.4.0-47
linux-tools-4.4.0-51 - Linux kernel version specific tools for version 4.4.0-51
linux-tools-4.4.0-51-generic - Linux kernel version specific tools for version 4.4.0-51
linux-tools-4.4.0-51-generic-lpae - Linux kernel version specific tools for version 4.4.0-51
linux-tools-4.4.0-53 - Linux kernel version specific tools for version 4.4.0-53
linux-tools-4.4.0-53-generic - Linux kernel version specific tools for version 4.4.0-53
linux-tools-4.4.0-53-generic-lpae - Linux kernel version specific tools for version 4.4.0-53
linux-tools-4.4.0-57 - Linux kernel version specific tools for version 4.4.0-57
linux-tools-4.4.0-57-generic - Linux kernel version specific tools for version 4.4.0-57
linux-tools-4.4.0-57-generic-lpae - Linux kernel version specific tools for version 4.4.0-57
linux-tools-4.4.0-59 - Linux kernel version specific tools for version 4.4.0-59
linux-tools-4.4.0-59-generic - Linux kernel version specific tools for version 4.4.0-59
linux-tools-4.4.0-59-generic-lpae - Linux kernel version specific tools for version 4.4.0-59
linux-tools-4.4.0-62 - Linux kernel version specific tools for version 4.4.0-62
linux-tools-4.4.0-62-generic - Linux kernel version specific tools for version 4.4.0-62
linux-tools-4.4.0-62-generic-lpae - Linux kernel version specific tools for version 4.4.0-62
linux-tools-4.4.0-63 - Linux kernel version specific tools for version 4.4.0-63
linux-tools-4.4.0-63-generic - Linux kernel version specific tools for version 4.4.0-63
linux-tools-4.4.0-63-generic-lpae - Linux kernel version specific tools for version 4.4.0-63
linux-tools-4.4.0-64 - Linux kernel version specific tools for version 4.4.0-64
linux-tools-4.4.0-64-generic - Linux kernel version specific tools for version 4.4.0-64
linux-tools-4.4.0-64-generic-lpae - Linux kernel version specific tools for version 4.4.0-64
linux-tools-4.4.0-66 - Linux kernel version specific tools for version 4.4.0-66
linux-tools-4.4.0-66-generic - Linux kernel version specific tools for version 4.4.0-66
linux-tools-4.4.0-66-generic-lpae - Linux kernel version specific tools for version 4.4.0-66
linux-tools-4.4.0-67 - Linux kernel version specific tools for version 4.4.0-67
linux-tools-4.4.0-67-generic - Linux kernel version specific tools for version 4.4.0-67
linux-tools-4.4.0-67-generic-lpae - Linux kernel version specific tools for version 4.4.0-67
linux-tools-4.4.0-70 - Linux kernel version specific tools for version 4.4.0-70
linux-tools-4.4.0-70-generic - Linux kernel version specific tools for version 4.4.0-70
linux-tools-4.4.0-70-generic-lpae - Linux kernel version specific tools for version 4.4.0-70
linux-tools-4.4.0-71 - Linux kernel version specific tools for version 4.4.0-71
linux-tools-4.4.0-71-generic - Linux kernel version specific tools for version 4.4.0-71
linux-tools-4.4.0-71-generic-lpae - Linux kernel version specific tools for version 4.4.0-71
linux-tools-4.4.0-72 - Linux kernel version specific tools for version 4.4.0-72
linux-tools-4.4.0-72-generic - Linux kernel version specific tools for version 4.4.0-72
linux-tools-4.4.0-72-generic-lpae - Linux kernel version specific tools for version 4.4.0-72
linux-tools-4.4.0-75 - Linux kernel version specific tools for version 4.4.0-75
linux-tools-4.4.0-75-generic - Linux kernel version specific tools for version 4.4.0-75
linux-tools-4.4.0-75-generic-lpae - Linux kernel version specific tools for version 4.4.0-75
linux-tools-4.4.0-77 - Linux kernel version specific tools for version 4.4.0-77
linux-tools-4.4.0-77-generic - Linux kernel version specific tools for version 4.4.0-77
linux-tools-4.4.0-77-generic-lpae - Linux kernel version specific tools for version 4.4.0-77
linux-tools-4.4.0-78 - Linux kernel version specific tools for version 4.4.0-78
linux-tools-4.4.0-78-generic - Linux kernel version specific tools for version 4.4.0-78
linux-tools-4.4.0-78-generic-lpae - Linux kernel version specific tools for version 4.4.0-78
linux-tools-4.4.0-79 - Linux kernel version specific tools for version 4.4.0-79
linux-tools-4.4.0-79-generic - Linux kernel version specific tools for version 4.4.0-79
linux-tools-4.4.0-79-generic-lpae - Linux kernel version specific tools for version 4.4.0-79
linux-tools-4.4.0-81 - Linux kernel version specific tools for version 4.4.0-81
linux-tools-4.4.0-81-generic - Linux kernel version specific tools for version 4.4.0-81
linux-tools-4.4.0-81-generic-lpae - Linux kernel version specific tools for version 4.4.0-81
linux-tools-4.4.0-83 - Linux kernel version specific tools for version 4.4.0-83
linux-tools-4.4.0-83-generic - Linux kernel version specific tools for version 4.4.0-83
linux-tools-4.4.0-83-generic-lpae - Linux kernel version specific tools for version 4.4.0-83
linux-tools-4.4.0-87 - Linux kernel version specific tools for version 4.4.0-87
linux-tools-4.4.0-87-generic - Linux kernel version specific tools for version 4.4.0-87
linux-tools-4.4.0-87-generic-lpae - Linux kernel version specific tools for version 4.4.0-87
linux-tools-4.4.0-89 - Linux kernel version specific tools for version 4.4.0-89
linux-tools-4.4.0-89-generic - Linux kernel version specific tools for version 4.4.0-89
linux-tools-4.4.0-89-generic-lpae - Linux kernel version specific tools for version 4.4.0-89
linux-tools-4.4.0-91 - Linux kernel version specific tools for version 4.4.0-91
linux-tools-4.4.0-91-generic - Linux kernel version specific tools for version 4.4.0-91
linux-tools-4.4.0-91-generic-lpae - Linux kernel version specific tools for version 4.4.0-91
linux-tools-4.4.0-92 - Linux kernel version specific tools for version 4.4.0-92
linux-tools-4.4.0-92-generic - Linux kernel version specific tools for version 4.4.0-92
linux-tools-4.4.0-92-generic-lpae - Linux kernel version specific tools for version 4.4.0-92
linux-tools-4.4.0-93 - Linux kernel version specific tools for version 4.4.0-93
linux-tools-4.4.0-93-generic - Linux kernel version specific tools for version 4.4.0-93
linux-tools-4.4.0-93-generic-lpae - Linux kernel version specific tools for version 4.4.0-93
linux-tools-4.4.0-96 - Linux kernel version specific tools for version 4.4.0-96
linux-tools-4.4.0-96-generic - Linux kernel version specific tools for version 4.4.0-96
linux-tools-4.4.0-96-generic-lpae - Linux kernel version specific tools for version 4.4.0-96
linux-tools-4.4.0-97 - Linux kernel version specific tools for version 4.4.0-97
linux-tools-4.4.0-97-generic - Linux kernel version specific tools for version 4.4.0-97
linux-tools-4.4.0-97-generic-lpae - Linux kernel version specific tools for version 4.4.0-97
linux-tools-4.4.0-98 - Linux kernel version specific tools for version 4.4.0-98
linux-tools-4.4.0-98-generic - Linux kernel version specific tools for version 4.4.0-98
linux-tools-4.4.0-98-generic-lpae - Linux kernel version specific tools for version 4.4.0-98
linux-tools-4.8.0-34-generic - Linux kernel version specific tools for version 4.8.0-34
linux-tools-4.8.0-34-generic-lpae - Linux kernel version specific tools for version 4.8.0-34
linux-tools-4.8.0-36-generic - Linux kernel version specific tools for version 4.8.0-36
linux-tools-4.8.0-36-generic-lpae - Linux kernel version specific tools for version 4.8.0-36
linux-tools-4.8.0-39-generic - Linux kernel version specific tools for version 4.8.0-39
linux-tools-4.8.0-39-generic-lpae - Linux kernel version specific tools for version 4.8.0-39
linux-tools-4.8.0-41-generic - Linux kernel version specific tools for version 4.8.0-41
linux-tools-4.8.0-41-generic-lpae - Linux kernel version specific tools for version 4.8.0-41
linux-tools-4.8.0-42-generic - Linux kernel version specific tools for version 4.8.0-42
linux-tools-4.8.0-42-generic-lpae - Linux kernel version specific tools for version 4.8.0-42
linux-tools-4.8.0-44-generic - Linux kernel version specific tools for version 4.8.0-44
linux-tools-4.8.0-44-generic-lpae - Linux kernel version specific tools for version 4.8.0-44
linux-tools-4.8.0-45-generic - Linux kernel version specific tools for version 4.8.0-45
linux-tools-4.8.0-45-generic-lpae - Linux kernel version specific tools for version 4.8.0-45
linux-tools-4.8.0-46-generic - Linux kernel version specific tools for version 4.8.0-46
linux-tools-4.8.0-46-generic-lpae - Linux kernel version specific tools for version 4.8.0-46
linux-tools-4.8.0-49-generic - Linux kernel version specific tools for version 4.8.0-49
linux-tools-4.8.0-49-generic-lpae - Linux kernel version specific tools for version 4.8.0-49
linux-tools-4.8.0-51-generic - Linux kernel version specific tools for version 4.8.0-51
linux-tools-4.8.0-51-generic-lpae - Linux kernel version specific tools for version 4.8.0-51
linux-tools-4.8.0-52-generic - Linux kernel version specific tools for version 4.8.0-52
linux-tools-4.8.0-52-generic-lpae - Linux kernel version specific tools for version 4.8.0-52
linux-tools-4.8.0-53-generic - Linux kernel version specific tools for version 4.8.0-53
linux-tools-4.8.0-53-generic-lpae - Linux kernel version specific tools for version 4.8.0-53
linux-tools-4.8.0-54-generic - Linux kernel version specific tools for version 4.8.0-54
linux-tools-4.8.0-54-generic-lpae - Linux kernel version specific tools for version 4.8.0-54
linux-tools-4.8.0-56-generic - Linux kernel version specific tools for version 4.8.0-56
linux-tools-4.8.0-56-generic-lpae - Linux kernel version specific tools for version 4.8.0-56
linux-tools-4.8.0-58-generic - Linux kernel version specific tools for version 4.8.0-58
linux-tools-4.8.0-58-generic-lpae - Linux kernel version specific tools for version 4.8.0-58
linux-tools-generic-lpae-hwe-16.04 - Generic LPAE Linux kernel tools
linux-tools-generic-lpae-hwe-16.04-edge - Generic LPAE Linux kernel tools
linux-raspi2-tools-4.4.0-1010 - Linux kernel version specific tools for version 4.4.0-1010
linux-raspi2-tools-4.4.0-1012 - Linux kernel version specific tools for version 4.4.0-1012
linux-raspi2-tools-4.4.0-1016 - Linux kernel version specific tools for version 4.4.0-1016
linux-raspi2-tools-4.4.0-1017 - Linux kernel version specific tools for version 4.4.0-1017
linux-raspi2-tools-4.4.0-1019 - Linux kernel version specific tools for version 4.4.0-1019
linux-raspi2-tools-4.4.0-1021 - Linux kernel version specific tools for version 4.4.0-1021
linux-raspi2-tools-4.4.0-1023 - Linux kernel version specific tools for version 4.4.0-1023
linux-raspi2-tools-4.4.0-1027 - Linux kernel version specific tools for version 4.4.0-1027
linux-raspi2-tools-4.4.0-1029 - Linux kernel version specific tools for version 4.4.0-1029
linux-raspi2-tools-4.4.0-1034 - Linux kernel version specific tools for version 4.4.0-1034
linux-raspi2-tools-4.4.0-1038 - Linux kernel version specific tools for version 4.4.0-1038
linux-raspi2-tools-4.4.0-1040 - Linux kernel version specific tools for version 4.4.0-1040
linux-raspi2-tools-4.4.0-1042 - Linux kernel version specific tools for version 4.4.0-1042
linux-raspi2-tools-4.4.0-1044 - Linux kernel version specific tools for version 4.4.0-1044
linux-raspi2-tools-4.4.0-1046 - Linux kernel version specific tools for version 4.4.0-1046
linux-raspi2-tools-4.4.0-1048 - Linux kernel version specific tools for version 4.4.0-1048
linux-raspi2-tools-4.4.0-1050 - Linux kernel version specific tools for version 4.4.0-1050
linux-raspi2-tools-4.4.0-1051 - Linux kernel version specific tools for version 4.4.0-1051
linux-raspi2-tools-4.4.0-1052 - Linux kernel version specific tools for version 4.4.0-1052
linux-raspi2-tools-4.4.0-1054 - Linux kernel version specific tools for version 4.4.0-1054
linux-raspi2-tools-4.4.0-1055 - Linux kernel version specific tools for version 4.4.0-1055
linux-raspi2-tools-4.4.0-1057 - Linux kernel version specific tools for version 4.4.0-1057
linux-raspi2-tools-4.4.0-1059 - Linux kernel version specific tools for version 4.4.0-1059
linux-raspi2-tools-4.4.0-1061 - Linux kernel version specific tools for version 4.4.0-1061
linux-raspi2-tools-4.4.0-1065 - Linux kernel version specific tools for version 4.4.0-1065
linux-raspi2-tools-4.4.0-1067 - Linux kernel version specific tools for version 4.4.0-1067
linux-raspi2-tools-4.4.0-1069 - Linux kernel version specific tools for version 4.4.0-1069
linux-raspi2-tools-4.4.0-1070 - Linux kernel version specific tools for version 4.4.0-1070
linux-raspi2-tools-4.4.0-1071 - Linux kernel version specific tools for version 4.4.0-1071
linux-raspi2-tools-4.4.0-1074 - Linux kernel version specific tools for version 4.4.0-1074
linux-raspi2-tools-4.4.0-1075 - Linux kernel version specific tools for version 4.4.0-1075
linux-raspi2-tools-4.4.0-1076 - Linux kernel version specific tools for version 4.4.0-1076
linux-raspi2-tools-4.4.0-1077 - Linux kernel version specific tools for version 4.4.0-1077
linux-raspi2-tools-4.4.0-1079 - Linux kernel version specific tools for version 4.4.0-1079
linux-raspi2-tools-4.4.0-1080 - Linux kernel version specific tools for version 4.4.0-1080
linux-tools-4.4.0-1010-raspi2 - Linux kernel version specific tools for version 4.4.0-1010
linux-tools-4.4.0-1012-raspi2 - Linux kernel version specific tools for version 4.4.0-1012
linux-tools-4.4.0-1016-raspi2 - Linux kernel version specific tools for version 4.4.0-1016
linux-tools-4.4.0-1017-raspi2 - Linux kernel version specific tools for version 4.4.0-1017
linux-tools-4.4.0-1019-raspi2 - Linux kernel version specific tools for version 4.4.0-1019
linux-tools-4.4.0-1021-raspi2 - Linux kernel version specific tools for version 4.4.0-1021
linux-tools-4.4.0-1023-raspi2 - Linux kernel version specific tools for version 4.4.0-1023
linux-tools-4.4.0-1027-raspi2 - Linux kernel version specific tools for version 4.4.0-1027
linux-tools-4.4.0-1029-raspi2 - Linux kernel version specific tools for version 4.4.0-1029
linux-tools-4.4.0-1034-raspi2 - Linux kernel version specific tools for version 4.4.0-1034
linux-tools-4.4.0-1038-raspi2 - Linux kernel version specific tools for version 4.4.0-1038
linux-tools-4.4.0-1040-raspi2 - Linux kernel version specific tools for version 4.4.0-1040
linux-tools-4.4.0-1042-raspi2 - Linux kernel version specific tools for version 4.4.0-1042
linux-tools-4.4.0-1044-raspi2 - Linux kernel version specific tools for version 4.4.0-1044
linux-tools-4.4.0-1046-raspi2 - Linux kernel version specific tools for version 4.4.0-1046
linux-tools-4.4.0-1048-raspi2 - Linux kernel version specific tools for version 4.4.0-1048
linux-tools-4.4.0-1050-raspi2 - Linux kernel version specific tools for version 4.4.0-1050
linux-tools-4.4.0-1051-raspi2 - Linux kernel version specific tools for version 4.4.0-1051
linux-tools-4.4.0-1052-raspi2 - Linux kernel version specific tools for version 4.4.0-1052
linux-tools-4.4.0-1054-raspi2 - Linux kernel version specific tools for version 4.4.0-1054
linux-tools-4.4.0-1055-raspi2 - Linux kernel version specific tools for version 4.4.0-1055
linux-tools-4.4.0-1057-raspi2 - Linux kernel version specific tools for version 4.4.0-1057
linux-tools-4.4.0-1059-raspi2 - Linux kernel version specific tools for version 4.4.0-1059
linux-tools-4.4.0-1061-raspi2 - Linux kernel version specific tools for version 4.4.0-1061
linux-tools-4.4.0-1065-raspi2 - Linux kernel version specific tools for version 4.4.0-1065
linux-tools-4.4.0-1067-raspi2 - Linux kernel version specific tools for version 4.4.0-1067
linux-tools-4.4.0-1069-raspi2 - Linux kernel version specific tools for version 4.4.0-1069
linux-tools-4.4.0-1070-raspi2 - Linux kernel version specific tools for version 4.4.0-1070
linux-tools-4.4.0-1071-raspi2 - Linux kernel version specific tools for version 4.4.0-1071
linux-tools-4.4.0-1074-raspi2 - Linux kernel version specific tools for version 4.4.0-1074
linux-tools-4.4.0-1075-raspi2 - Linux kernel version specific tools for version 4.4.0-1075
linux-tools-4.4.0-1076-raspi2 - Linux kernel version specific tools for version 4.4.0-1076
linux-tools-4.4.0-1077-raspi2 - Linux kernel version specific tools for version 4.4.0-1077
linux-tools-4.4.0-1079-raspi2 - Linux kernel version specific tools for version 4.4.0-1079
linux-tools-4.4.0-1080-raspi2 - Linux kernel version specific tools for version 4.4.0-1080
linux-tools - Linux kernel versioned Tools
linux-tools-omap4 - Linux kernel versioned Tools
linux-tools-3.4.0-5-chromebook - Linux kernel version specific tools for version 3.4.0-5
In the end, I tried to install linux image where the version of linux-tools is one of the above stated, by the commnd
$ sudo apt-get install linux-image-4.13.0-16-generic
However, there’s crash report after reboot.
My questions are:
Is there a kernel version that I can use/downgrade to, in order to install perf package?
I notice that there’s “v7” in the kernel version, but there is no such “v7” in the listed linux-tools available. Does it affect the selection of version of linux tool?
I forget the kernel version originally installed. I’m pretty sure that it’s not the original one as I ran an update before.
For sure, I directly installed Ubuntu MATE 16.04.
Here’s the output of the command
$ dpkg -l | grep “linux-”
ii linux-base 4.0ubuntu1 all Linux image base package
ii linux-firmware 1.157.14 all Firmware for Linux kernel drivers
ii linux-headers-4.4.19-v7+ 4.4.19-v7±2 armhf Linux kernel headers for 4.4.19-v7+ on armhf
rc linux-image-4.13.0-16-generic 4.13.0-16.19~16.04.3 armhf Linux kernel image for version 4.13.0 on ARM (hard float) SMP
rc linux-image-4.4.0-101-generic 4.4.0-101.124 armhf Linux kernel image for version 4.4.0 on ARM (hard float) SMP
rc linux-image-4.4.0-103-generic 4.4.0-103.126 armhf Linux kernel image for version 4.4.0 on ARM (hard float) SMP
ii linux-libc-dev:armhf 4.4.0-108.131 armhf Linux Kernel Headers for development
ii linux-sound-base 1.0.25+dfsg-0ubuntu5 all base package for ALSA and OSS sound systems
ii linux-tools-common 4.4.0-108.131 all Linux kernel version specific tools for version 4.4.0
You have a bit of a mess here: kernel 4.4 + headers installed, 4.13 partially installed… and it seems that uname is saying that you’re on 4.14 which I don’t see here.
(It won’t install anything, it’ll just simulate the installation to see if there are issues.)
BTW, have you at some point (or do you) used the Proposed repository? (Just answer the question, don’t go enable it thinking I’m suggesting it as a solution.)