Re: [PATCH] Add trace event for munmap

Christoph Hellwig
2010-07-08T17:35:39Z

On Thu, Jul 08, 2010 at 03:44:07PM +0100, Eric B Munson wrote:
> On Thu, 08 Jul 2010, Peter Zijlstra wrote:
>
> > On Thu, 2010-07-08 at 15:05 +0100, Eric B Munson wrote:
> > > This patch adds a trace event for munmap which will record the starting
> > > address of the unmapped area and the length of the umapped area. This
> > > event will be used for modeling memory usage.
> >
> > Does it make sense to couple this with a mmap()/mremap()/brk()
> > tracepoint?
> >
>
> We were using the mmap information collected by perf, but I think
> those might also be useful so I will send a followup patch to add
> them.

What kind of infrastructure is perf using for recording
mmap()/mremap()/brk() information?