Messages in this thread | | | Date | Fri, 14 Mar 2014 09:37:48 -0400 | From | Don Zickus <> | Subject | Re: perf MMAP2 interface and COW faults |
| |
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
| |