linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David S. Ahern" <daahern@cisco.com>
To: linux-perf-users@vger.kernel.org
Subject: off-box analysis of perf.data file
Date: Sun, 14 Nov 2010 21:03:20 -0700	[thread overview]
Message-ID: <4CE0B108.8020205@cisco.com> (raw)


I'm trying to understand how the latest perf tools are designed with
respect to off-line analysis.

Specifically, I have a system running binaries and libraries that are
stripped and no vmlinux is installed. For analysis, I have a local tree
based on software versions with full debug symbols. Events are collected
into a perf.data file and the file is pushed off-box for analysis.

Without assuming write access to local tree or even ownership of the
perf.data I imagine running a command something like:

perf report -fi /path/to/perf.data \
    --rootfs /path/to/symboled-tree \
    --kallsyms /path/to/kallsyms
    ...

where /proc/kallsyms is dumped for the running system and retrieved
along with the perf.data file.

I've been reading the source and can't say I follow all of the build-id
stuff. Before I spend time working on code modifications I wanted to
better understand the expectations and options for the latest code.

Thanks,

David

             reply	other threads:[~2010-11-15  4:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-15  4:03 David S. Ahern [this message]
2010-11-16 23:40 ` off-box analysis of perf.data file Arnaldo Carvalho de Melo
2010-11-17  1:27   ` Arnaldo Carvalho de Melo
2010-11-17 23:31   ` David S. Ahern
2010-11-18 20:19     ` Arnaldo Carvalho de Melo
2010-11-18 21:54       ` David S. Ahern
2010-11-19 12:50         ` Arnaldo Carvalho de Melo
2010-11-20 15:44           ` David S. Ahern
2010-11-20 17:12             ` Arnaldo Carvalho de Melo

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=4CE0B108.8020205@cisco.com \
    --to=daahern@cisco.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).