Archive for April, 2005

DTracing Java

DTrace has cast light on parts of the system that were previously only dimly illuminated by previous tools, but there have been some parts of the system frustratingly left in the dark. The prevalent example is Java. Java has been relatively unobservable with DTrace; the jstack() action has offered a narrow beam of light into [...]

Posted on April 18, 2005 at 5:00 pm by ahl · Permalink · 4 Comments
In: DTrace

the pid provider and > 10 arguments

A long-time DTrace user was recently examining an ugly C++ application, and this obvious DTrace invocation to trace the 15th argument (zero-indexed) to a particularly ugly function: # dtrace -n pid123::foobar:entry’{ trace(arg15); }’ dtrace: invalid probe specifier pid380863:::entry{ trace(arg15); }: in action list: failed to resolve arg15: Unknown variable name As described in the Solaris [...]

Posted on April 4, 2005 at 3:08 pm by ahl · Permalink · 7 Comments
In: DTrace