Wind River Support Network

HomeDefectsLIN1021-61
Not to be fixed

LIN1021-61 : [LTP] xilinx-zynq: perf_event_open01 in ltp failed due to perf_event_open PERF_COUNT_HW_INSTRUCTIONS unexpectedly

Created: May 17, 2021    Updated: Aug 24, 2021
Resolved Date: Aug 24, 2021
Found In Version: 10.21.20.1
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Kernel

Description

setup.sh --machines=xilinx-zynq --distro wrlinux --accept-eula=yes --dl-layers
bitbake-layers add-layer /lpg-build/cdc/WASSP_LINUX_1019/testcases/wrlinux/wr-testing/kts-dev && echo require templates/feature/ltp/template.conf >> conf/local.conf && echo IMAGE_FSTYPES += \"tar.bz2\" >> conf/local.conf &&echo BB_NO_NETWORK_pn-lmbench = \"0\" >> conf/local.conf

bitbake wrlinux-image-glibc-std

On zc702/zc706:
runltp -f syscalls



Only meet the issue in arm bsp, xilinx-zynq.

<<<test_start>>>
tag=perf_event_open01 stime=1571849199
cmdline="perf_event_open01"
contacts=""
analysis=exit
<<<test_output>>>
perf_event_open01 1 TFAIL : perf_event_open01.c:158: perf_event_open PERF_COUNT_HW_INSTRUCTIONS failed unexpectedly: TEST_ERRNO=EINVAL(22): Invalid argument
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=1 cstime=0
<<<test_end>>>

    Options

Steps to Reproduce

/lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh --machines=xilinx-zynq --distro wrlinux --accept-eula=yes --dl-layers
bitbake-layers add-layer /lpg-build/cdc/WASSP_LINUX_1019/testcases/wrlinux/wr-testing/kts-dev && echo require templates/feature/ltp/template.conf >> conf/local.conf && echo IMAGE_FSTYPES += \"tar.bz2\" >> conf/local.conf &&echo BB_NO_NETWORK_pn-lmbench = \"0\" >> conf/local.conf

bitbake wrlinux-image-glibc-std

On zc702/zc706:
/opt/ltp/wrLinux_ltp/wr-runltp -f syscalls
Live chat
Online