Wind River Support Network

HomeDefectsLIN8-941
Not to be fixed

LIN8-941 : qemuarma9 perf record warnings about setting affinity for cores 1,2,3 on one core emulation

Created: Sep 23, 2015    Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Found In Version: 8.0
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Kernel

Description

Running perf record on qemuarma9 (invoked with just 'make start-target') causes the following warnings to appear, which is a regression since running  on wrlinux-7 does not cause this error.  Also, this occurs with or without the '-g -e cpu-clock' options.

root@qemu0:~# perf record -g -e cpu-clock -- find / -name "*.ko"       
CPU PMU: unable to set irq affinity (irq=28, cpu=1)
CPU PMU: unable to set irq affinity (irq=29, cpu=2)
CPU PMU: unable to set irq affinity (irq=30, cpu=3)
CPU PMU: unable to set irq affinity (irq=28, cpu=1)
CPU PMU: unable to set irq affinity (irq=29, cpu=2)
CPU PMU: unable to set irq affinity (irq=30, cpu=3)


This does NOT occur if qemuarma9 is started with 
TARGET_QEMU_SMP=4

Workaround

boot with 4 cores

Steps to Reproduce

configure --enable-board=qemuarma9 --enable-build=profiling --enable-jobs=31 --enable-kernel=standard --enable-parallel-pkgbuilds=31 --enable-rootfs=glibc-small+debug
make fs
make start-target
(on target)
perf record -g -e clock-cpu -- find /usr/bin -name foobar
Live chat
Online