On Thu, Jun 24, 2010 at 12:59 AM, Rohitash <rohitash.pa...@oracle.com> wrote: > Hi, > I would like to know if its possible to trace the native library loading ( > including dependent library loads ) using Dtrace . > > I'm somehow seeing a SIGBUS while I am trying to load my native libraries , > which used to work in a 32 bit Java environment . Now I am trying to use > 64-bit Java ( Java 6 ) and thats where I am hitting on the problem . I think > Java 6 has Dtrace support built in , and I did check the documentation , but > I could just find about tracing the class loads . > > Appreciate if you could share your comments.
Have you recompiled your native code into 64-bit? If not, that is the first step. You can tell whether it is 32-bit or 64-bit with "file /path/to/libwhatever.so". -- Mike Gerdts http://mgerdts.blogspot.com/ _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org