linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf top using /proc/kcore
@ 2013-10-15  2:09 Arnaldo Carvalho de Melo
  2013-10-15  6:13 ` Adrian Hunter
  0 siblings, 1 reply; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2013-10-15  2:09 UTC (permalink / raw)
  To: Adrian Hunter
  Cc: David Ahern, Jiri Olsa, Namhyung Kim, Linux Kernel Mailing List

Hi Adrian,

	While testing 'perf top -U' to reply a message in another thread
I noticed that ksm symbols appeared as '[kernel]', and only when I tried
'perf top -U -v' to look at the DSO long name I noticed that it was...
/proc/kcore.

	Question is: since we have access to /proc/modules, can't we
parse that, as when we have access to vmlinux, and recreate the mmaps,
etc, and see:

	[module]  symbol

	Instead of grouping everything into a single [kernel] bucket?

- Arnaldo

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

* Re: perf top using /proc/kcore
  2013-10-15  2:09 perf top using /proc/kcore Arnaldo Carvalho de Melo
@ 2013-10-15  6:13 ` Adrian Hunter
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Hunter @ 2013-10-15  6:13 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: David Ahern, Jiri Olsa, Namhyung Kim, Linux Kernel Mailing List

On 15/10/13 05:09, Arnaldo Carvalho de Melo wrote:
> Hi Adrian,
> 
> 	While testing 'perf top -U' to reply a message in another thread
> I noticed that ksm symbols appeared as '[kernel]', and only when I tried
> 'perf top -U -v' to look at the DSO long name I noticed that it was...
> /proc/kcore.
> 
> 	Question is: since we have access to /proc/modules, can't we
> parse that, as when we have access to vmlinux, and recreate the mmaps,
> etc, and see:
> 
> 	[module]  symbol
> 
> 	Instead of grouping everything into a single [kernel] bucket?

I would suggest just splitting the maps and giving them names, rather than
splitting the dso as well.  That would mean changing places that have:

	map->dso->short_name

to

	map->name ? map->name : map->dso->short_name



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

end of thread, other threads:[~2013-10-15  6:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-15  2:09 perf top using /proc/kcore Arnaldo Carvalho de Melo
2013-10-15  6:13 ` Adrian Hunter

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).