From: Don Zickus <dzickus@redhat.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: eranian@google.com, jmario@redhat.com, jolsa@redhat.com,
acme@redhat.com, linux-kernel@vger.kernel.org,
lwoodman@redhat.com
Subject: Re: perf MMAP2 interface and COW faults
Date: Fri, 14 Mar 2014 09:37:48 -0400 [thread overview]
Message-ID: <20140314133748.GY25953@redhat.com> (raw)
In-Reply-To: <20140314132447.GW27965@twins.programming.kicks-ass.net>
On Fri, Mar 14, 2014 at 02:24:47PM +0100, Peter Zijlstra wrote:
> On Fri, Mar 14, 2014 at 08:58:37AM -0400, Don Zickus wrote:
> > Hmmm. That will probably work for future mmap events. My problem is for
> > synthesized mmap events. We read the same protection bits from
> > /proc/<pid>/maps file, so I assume the same strategy can work for those
> > events too?
>
> Yeah, so /proc/$pid/maps doesn't contain all those bits, but it does
> have the prot read/write/exec and flags shared/private thing, which
> should be sufficient for your needs.
Great, thanks!
Cheers,
Don
next prev parent reply other threads:[~2014-03-14 13:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-13 20:03 perf MMAP2 interface and COW faults Don Zickus
2014-03-14 11:17 ` Peter Zijlstra
2014-03-14 12:58 ` Don Zickus
2014-03-14 13:24 ` Peter Zijlstra
2014-03-14 13:37 ` Don Zickus [this message]
2014-03-17 15:37 ` Don Zickus
2014-03-17 15:41 ` Don Zickus
2014-03-17 16:16 ` 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=20140314133748.GY25953@redhat.com \
--to=dzickus@redhat.com \
--cc=acme@redhat.com \
--cc=eranian@google.com \
--cc=jmario@redhat.com \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lwoodman@redhat.com \
--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.