linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adrian Hunter <adrian.hunter@intel.com>
To: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: David Ahern <dsahern@gmail.com>, Jiri Olsa <jolsa@redhat.com>,
	Namhyung Kim <namhyung@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: perf top using /proc/kcore
Date: Tue, 15 Oct 2013 09:13:37 +0300	[thread overview]
Message-ID: <525CDD11.40803@intel.com> (raw)
In-Reply-To: <20131015020935.GB30662@ghostprotocols.net>

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



      reply	other threads:[~2013-10-15  6:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-15  2:09 perf top using /proc/kcore Arnaldo Carvalho de Melo
2013-10-15  6:13 ` Adrian Hunter [this message]

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=525CDD11.40803@intel.com \
    --to=adrian.hunter@intel.com \
    --cc=acme@ghostprotocols.net \
    --cc=dsahern@gmail.com \
    --cc=jolsa@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=namhyung@gmail.com \
    /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).