All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] perf tool: load data variable symbols
@ 2011-02-10 14:15 Lin Ming
  2011-02-10 16:25 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 3+ messages in thread
From: Lin Ming @ 2011-02-10 14:15 UTC (permalink / raw)
  To: acme, Peter Zijlstra, mingo, Stephane Eranian, fweisbec; +Cc: linux-kernel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-10 19:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-10 14:15 [RFC] perf tool: load data variable symbols Lin Ming
2011-02-10 16:25 ` Arnaldo Carvalho de Melo
2011-02-10 19:17   ` Peter Zijlstra

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.