lkml.org 
[lkml]   [2014]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: perf MMAP2 interface and COW faults
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.


\
 
 \ /
  Last update: 2014-03-14 15:01    [W:0.060 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site