tracking memory map changes

Frank Ch. Eigler fche@redhat.com
Mon Jun 2 08:07:00 GMT 2008


David Smith <dsmith@redhat.com> writes:

> [...]
>> It'd also be good to watch for vm areas going away.  [...]

Absolutely.  We must do that.

> If CONFIG_PROFILING is on, sys_munmap() has a hook built into it
> that we might be able to use.  [...]  If that won't work, we'll have
> to fall back to something similar to what we decide to do for mmap
> tracing.

Considering that we'll already intercept mmap, we might as well
intercept munmap for the same processes using the same mechanism.

- FChE



More information about the Systemtap mailing list