Bug 5148 - perf test fails
Summary: perf test fails
Status: RESOLVED WONTFIX
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-fsl-arm (show other bugs)
Version: unspecified
Hardware: Other arm
: Medium normal
Target Milestone: 1.5.1
Assignee: Daiane
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-09-09 16:30 UTC by Andrei Gherzan
Modified: 2014-05-27 13:58 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: New (Never tested)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Gherzan 2013-09-09 16:30:57 UTC
When running "perf test -v 3", the test fails with this log:

1: vmlinux symtab matches kallsyms:
--- start ---
Looking at the vmlinux_path (6 entries long)
Using /boot/vmlinux-3.0.35-4.0.0+yocto+g3383d80 for symbols
0x8005b498: diff end addr for mx6_suspend v: 0x8005c643 k: 0x8005b5f7
0x8056ac60: diff end addr for __kprobes_text_end v: 0x805e0007 k: 0x8056b69f
0x80693c16: _fw_end not on kallsyms
0x807c2ade: _fw_end not on kallsyms
0x809882c6: _fw_end not on kallsyms
0x8098d410: kallsyms_addresses not on kallsyms
0x809ba880: kallsyms_num_syms not on kallsyms
0x809ba890: kallsyms_names not on kallsyms
0x80a41a80: kallsyms_markers not on kallsyms
0x80a41d60: kallsyms_token_table not on kallsyms
0x80a420f0: kallsyms_token_index not on kallsyms
Maps only in vmlinux:
 80008110-80b2785f 0 [kernel].init
 80b27860-ffffffffffffffff 0 [kernel].data
Maps in vmlinux with a different name in kallsyms:
Maps only in kallsyms:
---- end ----
vmlinux symtab matches kallsyms: FAILED!

We aware that in order to test this, vmlinux image must be installed (linux-vmlinux). Will patch poky to have this as a rdepends to perf.
Comment 1 Otavio Salvador 2013-09-13 03:03:05 UTC
(In reply to comment #0)
> When running "perf test -v 3", the test fails with this log:
> 
> 1: vmlinux symtab matches kallsyms:
> --- start ---
> Looking at the vmlinux_path (6 entries long)
> Using /boot/vmlinux-3.0.35-4.0.0+yocto+g3383d80 for symbols
> 0x8005b498: diff end addr for mx6_suspend v: 0x8005c643 k: 0x8005b5f7
> 0x8056ac60: diff end addr for __kprobes_text_end v: 0x805e0007 k: 0x8056b69f
> 0x80693c16: _fw_end not on kallsyms
> 0x807c2ade: _fw_end not on kallsyms
> 0x809882c6: _fw_end not on kallsyms
> 0x8098d410: kallsyms_addresses not on kallsyms
> 0x809ba880: kallsyms_num_syms not on kallsyms
> 0x809ba890: kallsyms_names not on kallsyms
> 0x80a41a80: kallsyms_markers not on kallsyms
> 0x80a41d60: kallsyms_token_table not on kallsyms
> 0x80a420f0: kallsyms_token_index not on kallsyms
> Maps only in vmlinux:
>  80008110-80b2785f 0 [kernel].init
>  80b27860-ffffffffffffffff 0 [kernel].data
> Maps in vmlinux with a different name in kallsyms:
> Maps only in kallsyms:
> ---- end ----
> vmlinux symtab matches kallsyms: FAILED!
> 
> We aware that in order to test this, vmlinux image must be installed
> (linux-vmlinux). Will patch poky to have this as a rdepends to perf.

So you got this fixed?
Comment 2 Andrei Gherzan 2013-09-18 10:32:39 UTC
Typo: We aware = be aware

I don't have a fix for this yet.
Comment 3 Otavio Salvador 2013-09-18 12:27:49 UTC
(In reply to comment #2)
> Typo: We aware = be aware
> 
> I don't have a fix for this yet.

Good but are you looking at this?
Comment 4 Andrei Gherzan 2013-09-18 23:11:14 UTC
Hello Otavio,

I invested a lot of time in this but it seems that I can't find the source of the issue. Maybe you can take a look too. Or a least give me a hint or so.

Thanks,
Andrei
Comment 5 Otavio Salvador 2013-09-19 13:08:31 UTC
This needs to be check, so I am setting it to NEW.
Comment 6 Daiane 2014-05-27 13:58:37 UTC
Following a long communication chain I ended on this link
http://thread.gmane.org/gmane.linux.ports.arm.kernel/181392/focus=181597

There is a hardware limitation in i.MX6 that don´t allow perf to work.