Missing perf for kernel 4.4.3-040403
C de-Avillez
hggdh2 at ubuntu.com
Fri Mar 18 01:43:12 UTC 2016
On Thu, 17 Mar 2016 16:36:26 -0700
Shlomi Vaknin <shlomivaknin at gmail.com> wrote:
> Hello,
>
> I am not sure which of the lists I should be posting to, so if this
> isnt the one, accept my apology and kindly direct me to the right one.
>
> I am using perf_events quite a lot, and recently I upgraded my kernel
> version to 4.4.3-040403, thinking perf should just be there (as it is
> advertised as a native tool to the kernel).
>
> When trying to run it I get :
>
> > perf
>
> WARNING: perf not found for kernel 4.4.3-040403
What is your Ubuntu version? And, more to the point, where this kernel
came from?
>
> You may need to install the following packages for this specific
> kernel: linux-tools-4.4.3-040403-generic
> linux-cloud-tools-4.4.3-040403-generic
>
> You may also want to install one of the following packages to keep
> up to date:
> linux-tools-generic-lts-<series>
> linux-cloud-tools-generic-lts-<series>
>
> However, none of these packages exist anywhere (that google could
> reach).
For me (kernel 4.4.0-13, Xenial), the correct package would be
linux-tools-generic, or linux-tools-generic-lts-xenial (the lts
versions depend on linux-tools-generic, and I think the
*-lts-<version> are being deprecated).
A simple 'apt-get update && apt-get install
linux-tools-generic' does the trick.
>
> Should I simply revert my kernel to the one matching the latest
> linux-tools? (right now I get linux-tools-4.4.0-13-generic as the
> latest)
Ah, Xenial. OK. Yes, revert. Or you might want to look at the options
to build the kernel for perf, IIRC.
>
> Where could I follow the builds and releases of linux-tools packages?
They are built together with the kernel. As long as you have the
*-generic packages installed, you should always get the tools matching
the kernel.
The source is at [1].
>
> Any hints will be very useful,
> Thanks,
> Shlomi
Hope it helps,
..C..
[1] https://code.launchpad.net/ubuntu/+source/linux-meta
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20160317/d6146713/attachment.sig>
More information about the ubuntu-users
mailing list