Re: How to get profile data?
Chris Pickett <[email protected]>
| Newsgroups | gmane.comp.java.vm.sablevm.devel |
|---|---|
| Message-ID | <[email protected]> |
Grzegorz B. Prokopski wrote: > On Tue, 2004-10-26 at 16:28, Chris Pickett wrote: > >>are a pain). It's a shame it's not maintained or packaged very well. I >>think I wrote about all this on the mailing list at the time as well. > > > $ apt-get install qprof > $ qprof /usr/bin/sablevm -Y HelloWorld > Hello world! > qprof: /usr/bin/sablevm: 25 samples, 25 counts > libsablevm-1.1.6.so 17 ( 68%) > libc.so.6(__libc_free) 1 ( 4%) > libc.so.6(memset) 1 ( 4%) > libc.so.6(memcpy) 1 ( 4%) > libc.so.6(__fxstat) 1 ( 4%) > libc.so.6(__open) 1 ( 4%) > libc.so.6(brk) 1 ( 4%) > libc.so.6(mmap) 1 ( 4%) > libffi.so.2(ffi_call_SYSV) 1 ( 4%) > > [ Of course I'd need to disable "static"s to get any results from > inside of libsablevm. ] > > Or you meant maintaining it upstream? Yes, upstream, HP hasn't touched it since 2003. However, libunwind is being worked on, which is good I suppose. Chris