I used "ldd" to see the libraray linked, result shows libmtmalloc.so.1 is linked correctly.
Strange thing is if I start dtrace script at the same time runing the programme i.e. using "dtrace -qs ./mem.d -c ./test", libmtmalloc.so.1:malloc:entry can be found. I don't know the difference between the two ways. Although "target" way (run script at the same run programme) works, but because when program starts up there are many memory allocation which will not be released until the termination, I don't want this way. JianLi -- This message posted from opensolaris.org _______________________________________________ dtrace-discuss mailing list [email protected]
