Perf test fails on Pandaboard (3.4 TILT)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Ubuntu |
Won't Fix
|
Medium
|
Unassigned | ||
linaro-landing-team-ti |
Won't Fix
|
Undecided
|
David Long | ||
linux-ti-omap4 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Test case available at lava-tests, and which can also be used from https:/
./run-perf-test.sh
+ whoami
+ [ root != root ]
+ uname -r
+ cut -f 1 -d-
+ KERNELVER=3.4.0
+ apt-cache search linux-linaro-
+ head -1
+ cut -f 1 -d
+ PKGNAME=
+ PERFBIN_
+ uname -r
+ awk -F - {print $1"-"$2}
+ PERFBIN_VER=3.4.0-1
+ [ ! -e /usr/bin/
+ echo Performing perf record test...
Performing perf record test...
+ TCID=perf record test
+ perf record -e cycles -o perf-lava-test.data stress -c 4 -t 10
+ tee perf-record.log
stress: info: [5325] dispatching hogs: 4 cpu, 0 io, 0 vm, 0 hdd
stress: info: [5325] successful run completed in 10s
[ perf record: Woken up 3 times to write data ]
[ perf record: Captured and wrote 0.766 MB perf-lava-test.data (~33480 samples) ]
+ grep -ao [0-9]\+[ ]\+samples perf-record.log
+ cut -f 1 -d
+ samples=33480
+ [ 33480 -gt 1 ]
+ echo perf record test : PASS
perf record test : PASS
+ rm perf-record.log
+ echo Performing perf report test...
Performing perf report test...
+ TCID=perf report test
+ perf+ tee perf-report.log
report -i perf-lava-test.data
# ========
# captured on: Tue Jun 26 20:03:22 2012
# hostname : linaro-
# os release : 3.4.0-1-
# perf version : 3.4.0
# arch : armv7l
# nrcpus online : 2
# nrcpus avail : 2
# cpudesc : ARMv7 Processor rev 10 (v7l)
# total memory : 974156 kB
# cmdline : /usr/bin/
# event : name = cycles, type = 1, config = 0x0, config1 = 0x0, config2 = 0x0, excl_usr = 0, excl_kern = 0, id = { 15, 16 }
# HEADER_CPU_TOPOLOGY info available, use -I to display
# ========
#
# Events: 19K cpu-clock
#
# Overhead Command Shared Object Symbol
# ........ ....... ................. .......
#
38.10% stress libc-2.15.so [.] random_r
36.33% stress libc-2.15.so [.] random
20.79% stress stress [.] atoll_b
3.69% stress libc-2.15.so [.] rand
0.85% stress stress [.] main
0.16% stress [kernel.kallsyms] [k] _raw_spin_
0.04% stress [kernel.kallsyms] [k] _raw_spin_
0.03% stress [kernel.kallsyms] [k] __do_softirq
0.01% stress [kernel.kallsyms] [k] vfp_support_entry
0.01% stress [kernel.kallsyms] [k] vfp_save_state
0.01% stress [kernel.kallsyms] [k] lock_acquire
0.01% stress [kernel.kallsyms] [k] rcu_process_
0.01% stress [kernel.kallsyms] [k] kfree_skbmem
0.00% stress [kernel.kallsyms] [k] debug_check_
0.00% stress [kernel.kallsyms] [k] filemap_fault
0.00% stress [kernel.kallsyms] [k] proc_flush_task_mnt
#
# (For a higher level overview, try: perf report --sort comm,dso)
#
+ grep -c -e ^[ ]\+[0-9]\+.[0-9]\+% perf-report.log
+ pcnt_samples=16
+ [ 16 -gt 1 ]
+ echo perf report test : PASS
perf report test : PASS
+ rm perf-report.log perf-lava-test.data
+ echo Performing perf stat test...
Performing perf stat test...
+ TCID=perf stat test
+ perf stat -e cycles stress -c 4 -t 10
+ tee perf-stat.log
Error: open_counter returned with 19 (No such device). /bin/dmesg may provide additional information.
Fatal: Not all events could be opened.
+ grep -o [0-9,]\+[ ]\+cycles perf-stat.log
+ sed s/,//g
+ cut -f 1 -d
+ cycles=
+ [ -gt 1 ]
./run-perf-test.sh: 71: [: -gt: unexpected operator
+ echo perf stat test : FAIL
perf stat test : FAIL
+ rm perf-stat.log
+ echo Performing 'perf test'...
Performing 'perf test'...
+ TCID=perf test
+ perf test
+ sed -e s/FAILED!/FAIL/g -e s/Ok/PASS/g -e s/ [0-9]\+:/perf test -/g -e s/:/ :/g
perf test - vmlinux symtab matches kallsyms : FAIL
perf test - detect open syscall event : FAIL
perf test - detect open syscall event on all cpus : FAIL
perf test - read samples using the mmap interface : FAIL
perf test - parse events tests :invalid or unsupported event : 'syscalls :sys_enter_open'
Run 'perf list' for a list of valid events
FAIL
perf test - Validate PERF_RECORD_* events & perf_sample fields : FAIL
perf test - Test perf pmu format parsing : PASS
Using:
Hwpack: hwpack_
Rootfs: linaro-
Changed in linaro-ubuntu: | |
status: | Confirmed → Won't Fix |
Kernel: lt-omap- 3.4 (3.4.0- 1.1~12062523250 3) precise; urgency=low
linux-linaro-
* Packaged version of lt-omap kernel created from: linaro. org/landing- teams/working/ ti/kernel. git 08466e2d13acd47 9743b4f0b3 singh.org>
Kernel:
Repo: git://git.
Branch: tilt-3.4
Head:
commit 61abde21bf62729
Author: Jaswinder Singh <jaswinder.
Date: Fri Jun 22 11:26:22 2012 +0800
omapdss temp hack ignore resume runtime_pm fail
Board config fragment: linaro. org/kernel/ configs. git 39d94a6662c823e 339c21dd50 salveti. org>
Repo: git://git.
Branch: config-boards-3.4
Head:
commit b7274f7e11c7820
Author: Ricardo Salveti de Araujo <ricardo.
Date: Mon Jun 25 15:30:04 2012 -0300
Ubuntu and Linaro Base config fragments: linaro. org/kernel/ configs. git 3fe0f6be08af48f 5a58eae849 salveti. org>
Repo: git://git.
Branch: config-core-3.4
Head:
commit 072bd6cb29aa25a
Author: Ricardo Salveti de Araujo <ricardo.
Date: Mon Jun 25 18:06:06 2012 -0300
Not yet stable enough to be used as default for all boards we currently
support at Linaro.
Packaging template: linaro. org/ubuntu/ linux-linaro- quantal. git ubuntu- packaging- 3.4 d039bf902ee8d31 fdc8cc16f2
Repo: git://git.
Branch: linaro-
Head:
commit 3da2b9971c9fbd9
Author: John Rigby <john.rigby.org>
Date: Mon Jun 25 15:04:23 2012 -0600
LINARO: template debian.linaro based on omap only version
-- John Rigby <email address hidden> Mon, 25 Jun 2012 15:04:22 -0600