Hello. I've got a scrip for systemtap and Linux kernel, that check if physical memory is filled by zero after process dies. The scrip is attached.
The probe is set in the free_pages_bulk function, which frees number of memory pages using _free_one_page. I can't set probe in _free_one_page, because it is inline and systemtap doesn't support it. The result is the address of first dirty(not filled by zero) page in the bulk. I need the same script for Solaris kernel. I guess that DTrace provides the same functionality as systemtap, but I do not familiar with Solaris kernel at all. -- This message posted from opensolaris.org
check_mem.stp
Description: Binary data
_______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org