From: Milian Wolff <milian.wolff@kdab.com>
To: linux-perf-users@vger.kernel.org
Subject: Re: Cross platform perf reporting
Date: Fri, 12 Aug 2016 17:10:18 +0200 [thread overview]
Message-ID: <1710265.PTtVSNFpcJ@milian-kdab2> (raw)
In-Reply-To: <3989281.iuuvGBEDVR@milian-kdab2>
[-- Attachment #1: Type: text/plain, Size: 1696 bytes --]
On Friday, August 12, 2016 2:22:29 PM CEST Milian Wolff wrote:
> Hey all,
>
> I'm trying to analyze perf.data files that I recorded on one machine
> (usually arm or arm64) on my development machine (x86_64). I have compiled
> a new version of perf (and the corresponding dependencies, where needed) to
> do this.
>
> Now I do:
>
> ~~~~~~~~~~~~~~~~~~~~~~~~
> aarch64$ perf record -g ...
> aarch64$ perf archive
>
> x86_64$ scp aarch64:perf.data* .
> x86_64$ tar xvf perf.data.tar.bz2 -C ~/.debug
> x86_64$ perf report |& less
> -> lots of errors, none of which are displayed in the TUI, such as:
>
> unwind: target platform=arm64 is not supported
> (often repeated)
> Failed to open /lib/ld-2.21.so, continuing without symbols
> Failed to open /lib/libc-2.21.so, continuing without symbols
> Failed to open /lib/libpthread-2.21.so, continuing without symbols
> Failed to open /lib/libdl-2.21.so, continuing without symbols
> ...
> ~~~~~~~~~~~~~~~~~~~~~~~~
What I notice, is that `perf buildid-list` does not contain any of these
files. I also don't have the corresponding files in my target's ~/.debug
folder, where everything seems to work as expected. Is that, because there the
symbols are read directly from the file and nothing is cached in ~/.debug?
Can I set an environment variable to let perf know to look in secondary paths
for the libraries? I.e. I hope to make it look into the cross compile sysroot
for these libraries, instead of literally interpreting the path as a valid
path on my development machine.
Thanks
--
Milian Wolff | milian.wolff@kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5903 bytes --]
next prev parent reply other threads:[~2016-08-12 15:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-12 12:22 Cross platform perf reporting Milian Wolff
2016-08-12 14:38 ` David Ahern
2016-08-12 15:10 ` Milian Wolff [this message]
2016-08-12 15:31 ` Arnaldo Carvalho de Melo
2016-08-15 12:20 ` Milian Wolff
2016-08-15 14:42 ` David Ahern
2016-08-15 15:22 ` Milian Wolff
2016-08-15 16:08 ` David Ahern
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1710265.PTtVSNFpcJ@milian-kdab2 \
--to=milian.wolff@kdab.com \
--cc=linux-perf-users@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).