Wind River Support Network

HomeDefectsLIN10-3919
Fixed

LIN10-3919 : "perf top" hung up on xilinx-zynqmp BSP target

Created: May 15, 2018    Updated: Dec 3, 2018
Resolved Date: Jul 18, 2018
Found In Version: 10.17.41.8
Fix Version: 10.17.41.10
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Kernel

Description

Problem Description
======================

root@xilinx-zynqmp:/opt/wr-test/testcases/kts/perf_top# ./runtest.sh

#########################################################
Start testcase perf_top (keyword: ) testing #########################################################

<< [do_prepare] start Check kernel config>>
********************
Check kernel config is PASS

<<end Check kernel config>>
********************
<<clean subcase>>
********************
<< [do_test1] start perf top with event selector test>>
********************
root@xilinx-zynqmp:/opt/wr-test/testcases/kts/perf_top# sleep 10 root@xilinx-zynqmp:/opt/wr-test/testcases/kts/perf_top# perf top -e cache-misses | head -n 23 > test.log &

perf: interrupt took too long (2554 > 2500), lowering kernel.perf_event_max_sample_rate to 78250
perf: interrupt took too long (3208 > 3192), lowering kernel.perf_event_max_sample_rate to 62250
perf: interrupt took too long (4026 > 4010), lowering kernel.perf_event_max_sample_rate to 49500
perf: interrupt took too long (5067 > 5032), lowering kernel.perf_event_max_sample_rate to 39250
perf: interrupt took too long (6341 > 6333), lowering kernel.perf_event_max_sample_rate to 31500
perf: interrupt took too long (7943 > 7926), lowering kernel.perf_event_max_sample_rate to 25000
perf: interrupt took too long (9931 > 9928), lowering kernel.perf_event_max_sample_rate to 20000 no symbols found in /usr/sbin/tcf-agent, maybe install a debug package?
root@xilinx-zynqmp:/opt/wr-test/testcases/kts/perf_top# killall -9 perf

root@xilinx-zynqmp:/opt/wr-test/testcases/kts/perf_top# cat test.log

<<end perf top with event selector test>>
********************
<<clean subcase>>
********************

<< [do_test2] start perf top with call-graph recording test>>
********************
root@xilinx-zynqmp:/opt/wr-test/testcases/kts/perf_top# perf top -g | head -n 23 > test.log & root@xilinx-zynqmp:/opt/wr-test/testcases/kts/perf_top# sleep 10

perf: interrupt took too long (12447 > 12413), lowering kernel.perf_event_max_sample_rate to 16000 [HUNG UP HERE]

Log location
======================
N/A 

Steps to Reproduce

1. Build project
/lpg-build/cdc/fast_prod/WRL10_17/WRL10_17_GIT/wrlinux-10/setup.sh --machines xilinx-zynqmp --distros=wrlinux --dl-layers --accept-eula=yes

. ./environment-setup-x86_64-wrlinuxsdk-linux
. ./oe-init-build-env build_test

bitbake-layers add-layer /wrl10/testlayer/WRLINUX_10_17_HEAD/wrlinux/wr-testing/kts-dev

echo "WRTEMPLATE_append = \" feature/wr-kts feature/test\"" >> conf/local.conf 
echo "IMAGE_FSTYPES=\"tar.bz2\"" >> conf/local.conf 
echo "IMAGE_ROOTFS_EXTRA_SPACE = \"5242880\"" >> conf/local.conf 
echo "INITRAMFS_MAXSIZE=\"500000\"" >> conf/local.conf 
echo "BB_NO_NETWORK=\"0\"" >> conf/local.conf 
echo "NOHDD=\"1\"" >> conf/local.conf

bitbake wrlinux-image-glibc-std

2. Load images to the target (Barcode:25080)

3. Run the following test
root@xilinx-zynqmp:/opt/wr-test/testcases/kts/perf_top# ./runtest.sh

Other Downloads


Live chat
Online