You can also try LD_DEBUG and compare the output on different machines.

http://docs.sun.com/app/docs/doc/817-1984/chapter3-31?a=view

Rayson



On 2/26/08, LiJIan <[EMAIL PROTECTED]> wrote:
> 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
> dtrace-discuss@opensolaris.org
>
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to