From: Lin Ming <ming.m.lin@intel.com>
To: acme@redhat.com, Peter Zijlstra <peterz@infradead.org>,
mingo@elte.hu, Stephane Eranian <eranian@google.com>,
fweisbec@gmail.com
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: [RFC] perf tool: load data variable symbols
Date: Thu, 10 Feb 2011 22:15:33 +0800 [thread overview]
Message-ID: <1297347333.2272.37.camel@localhost> (raw)
Hi, all
Currently, perf tool only load function symbols when parsing perf.data.
But it is also helpful if variable symbols can be loaded.
For example, Intel load latency monitoring facility records data linear
address of the load operation. It's useful if the data linear address is
resolved into symbol, just like functions.
enum map_type {
MAP__FUNCTION = 0,
MAP__VARIABLE,
};
We already have MAP__VARIABLE defined, although it's not used now.
For both kernel and userspace applications, we can load the variable
symbols from .data and .bss section.
What do you think?
Thanks,
Lin Ming
next reply other threads:[~2011-02-10 14:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-10 14:15 Lin Ming [this message]
2011-02-10 16:25 ` [RFC] perf tool: load data variable symbols Arnaldo Carvalho de Melo
2011-02-10 19:17 ` Peter Zijlstra
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=1297347333.2272.37.camel@localhost \
--to=ming.m.lin@intel.com \
--cc=acme@redhat.com \
--cc=eranian@google.com \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=peterz@infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.