Matty
2005-Dec-12 21:25 UTC
[dtrace-discuss] Getting number of bytes returned to application by free()?
Howdy, I just got done reading the following article on using DTrace to debug C++ applications: http://developer.sun.com/solaris/articles/dtrace_cc.html And was curious if there is a way to use DTrace to grab the number of bytes free() returns to the application? The malloc(), free() and brk() manual pages don''t provide a whole lot of info on what happens when free() is called, and I was wondering if anyone has written some D to grab this info? If not, I will start digging through the source code for malloc() and free() if they are available on opensolaris.org. Thanks, - Ryan -- UNIX Administrator http://daemons.net/~matty