Messages in this thread | | | Date | Fri, 14 Mar 2014 14:24:47 +0100 | From | Peter Zijlstra <> | Subject | Re: 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.
| |