Sunny Affairs

BTrace -- No thats not misspelt

Saturday Mar 08, 2008

I know DTrace is quite famous at this time. But its only today that I got to know there is a new on-going project BTrace.
BTrace -- bytecode tracing -- is a dynamic tracing tool for Java Platform, synonymous to DTrace in OpenSolaris.

More about BTrace on its project page.

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Application Profiling Using DTrace

Thursday Feb 28, 2008

I did a Technical Demo on DTrace on 20th Feb 2008.

Find the presentation here and the photos here.

[2] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

Ah!! Awch!!

Thursday Jan 24, 2008

Yes, I read this. Don't ask me how I feel about this.

I was using DTrace on Leopard some time ago... never knew that it was "crippled"... :(

[0] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg

DTrace on Solaris and Mac

Wednesday Jan 02, 2008

Well I have recently started with learning DTrace. DTrace is one of the most talked about feature in Solaris. This is how this feature is defined at OpenSolaris.org:

     DTrace is a comprehensive dynamic tracing framework for the Solaris™ Operating Environment. DTrace provides a powerful infrastructure to permit administrators, developers, and service personnel to concisely answer arbitrary questions about the behavior of the operating system and user programs.

Apple has also introduced DTrace in its new operating system Mac OS 10.5 (Leopard). This is how it is described at apple.com/macosx:

     DTrace is a low-level debugging and profiling facility for detailed monitoring of virtually any aspect of an application. Based on the Solaris Open Source project, this technology has been integrated by Apple into the Darwin kernel. In addition, Java, Ruby, Python, and Perl have been extended to support DTrace, providing unprecedented access for monitoring the performance characteristics of those languages.

Thus while learning DTrace I tried to compare both of them. Of course to use DTrace you need root privileges on the shell.

Here are the two screenshots (one on each os) with the most basic commands:

Solaris:

Mac OS 10.5:
So its quite evident that Solaris is far ahead with as many as 84997 (in build 72) probes as against 23300 in Leopard.

[1] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg