mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pekka Enberg <penberg@kernel.org>
To: Anton Blanchard <anton@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
	Paul Mackerras <paulus@samba.org>, Ingo Molnar <mingo@elte.hu>,
	Arnaldo Carvalho de Melo <acme@ghostprotocols.net>,
	emunson@mgebm.net, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] perf symbols: Synthesize anonymous mmap events
Date: Tue, 30 Aug 2011 22:11:02 +0300	[thread overview]
Message-ID: <1314731462.9659.3.camel@jaguar> (raw)
In-Reply-To: <20110830091506.60b51fe8@kryten>

On Tue, 2011-08-30 at 09:15 +1000, Anton Blanchard wrote:
> perf_event__synthesize_mmap_events does not create anonymous mmap
> events even though the kernel does. As a result an already running
> application with dynamically created code will not get profiled -
> all samples end up in the unknown bucket.
> 
> This patch skips any entries with '[' in the name to avoid adding
> events for special regions (eg the vsyscall page). All other
> executable mmaps are assumed to be anonymous and an event is
> synthesized.
> 
> Signed-off-by: Anton Blanchard <anton@samba.org>

Acked-by: Pekka Enberg <penberg@kernel.org>


      reply	other threads:[~2011-08-30 19:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-29 23:15 Anton Blanchard
2011-08-30 19:11 ` Pekka Enberg [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=1314731462.9659.3.camel@jaguar \
    --to=penberg@kernel.org \
    --cc=a.p.zijlstra@chello.nl \
    --cc=acme@ghostprotocols.net \
    --cc=anton@samba.org \
    --cc=emunson@mgebm.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=paulus@samba.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

Powered by JetHome