Q&A: Sun exec ponders OpenSolaris, Linux (ComputerWorld)
Q&A: Sun exec ponders OpenSolaris, Linux (ComputerWorld)
Posted May 15, 2008 15:13 UTC (Thu) by dmag (guest, #17775)In reply to: Q&A: Sun exec ponders OpenSolaris, Linux (ComputerWorld) by afalko
Parent article: Q&A: Sun exec ponders OpenSolaris, Linux (ComputerWorld)
Yes, the actual source code of the JVM, Perl and Ruby interpreters have been annotated so that DTrace can easily find out what's going on at a high level. (I think MySQL too). Even for "normal" programs, DTrace can still trace any function in the symbol table. Some name mangling required for C++. http://developers.sun.com/solaris/articles/dtrace_cc.html It's pretty neat that it can work over the whole OS (kernel thru scripts thru apps). For example, you could get a list of the incoming TCP connection data vs your perl script subroutines vs database queries.
