This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: tracking memory map changes
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