Wind River Support Network

HomeDefectsLIN1018-5869
Fixed

LIN1018-5869 : perf script can not parser backtrace in 64bit kernel and 32bit system.

Created: Mar 18, 2020    Updated: Jun 3, 2020
Resolved Date: May 12, 2020
Previous ID: LINCCM-6015
Found In Version: 10.18.44.14
Fix Version: 10.18.44.17
Severity: Standard
Applicable for: Wind River Linux LTS 18
Component/s: Kernel

Description

wrlinux-10/setup.sh --machines qemuarm64 --distro=wrlinux --dl-layers --all-layers

source environment-setup-x86_64-wrlinuxsdk-linux

source oe-init-build-env

Added the following info to conf/local.conf.

MULTILIBS = "multilib:lib32"
 DEFAULTTUNE_virtclass-multilib-lib32 = "armv7at-neon"
 SKIP_META_GNOME_SANITY_CHECK = "1"
 IMAGE_INSTALL_append = "perf openssh rsync make gdb perf-dbg lib32-glibc lib32-libgcc lib32-libunwind"

bitbake lib32-wrlinux-image-glibc-std
 runqemu qemuarm64 nographic slirp qemuparams="-smp 2" tmp-glibc/deploy/images/qemuarm64/lib32-wrlinux-image-glibc-std-qemuarm64.qemuboot.conf

#gcc -g -mthumb -gdwarf -o test test.c

#export CALLGRAPH=dwarf
 # ./perftest ./test profiling 1;cd profiling; perf script
 [ perf record: Woken up 6 times to write data ]
 [ perf record: Captured and wrote 1.495 MB profiling/perf.data ]
 bt 302 138.662536: 1001001 cpu-clock:

bt 302 138.666511: 1001001 cpu-clock:

bt 302 138.670532: 1001001 cpu-clock:

bt 302 138.674438: 1001001 cpu-clock:

bt 302 138.678525: 1001001 cpu-clock:

bt 302 138.682594: 1001001 cpu-clock:

bt 302 138.686609: 1001001 cpu-clock:

 
Live chat
Online