[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#622803: /usr/bin/perf: /usr/bin/perf fails self tests



On Thu, 2011-04-14 at 20:53 +0200, Johan Walles wrote:
> Package: linux-tools-2.6.38
> Version: 2.6.38-3
> Severity: normal
> File: /usr/bin/perf
> 
> 
> "perf" comes with build-in self testing facility, and it fails:
> 
> "
> johan@johansdator:~$ sudo perf test
> [sudo] password for johan: 
>  1: vmlinux symtab matches kallsyms: FAILED!

This tests that an uncompressed kernel image is available.  This is
included in debug packages (linux-image-<version>-<flavour>-dbg).
However, due to size constraints, at most only one flavour per
architecture has such a debug package, and for i386 this is the
'686-bigmem' flavour.

You can use this script to decompress the vmlinuz file, but that won't
include debug information so I'm not sure how useful it is to perf:

svn://svn.debian.org/kernel/people/benh/zcat-linux-image

>  2: detect open syscall event: FAILED!
> 
>  3: detect open syscall event on all cpus: FAILED!

The test is wrong.  Syscall events are optional and we haven't enabled
them.

> johan@johansdator:~$ 
> "
> 
> I don't know how much this matters in practice.

Probably not much; perf seems to work.

Maybe we ought to patch the test though...

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: