News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Experimentalworks Blog:
DTracing PHP
December 22, 2008 @ 15:19:10

On the Experimentalworks blog a recent post looks at using DTrace, the powerful tool to debug and trace problems in an application, with your PHP applications.

Dtrace is really powerful and trying to do an introduction to all it's features is just not possible. Therefore I will just focus on the basics, that are needed to get our stuff working. The basic idea behind Dtrace is that the kernel and userland programs fire probes on a specific location in the kernel or the userland program.

He looks at the structure of a DTrace program as well as a list of probes that you can use to help track down the problem in your application. His "first example" traces the compile time of the app and, when run on the command line, returns the time in seconds.

0 comments voice your opinion now!
dtrace tutorial example compile time structure probe


blog comments powered by Disqus

Similar Posts

Elizabeth Smith's Blog: Edin's Treasure Trove - or how to actually get PHP 5.2 compiling on Windows

Christopher Kunz's Blog: Building PHP with cURL and libmysqlclient5

DevShed: Utilizing Private Methods with PHP 5 and Member Visibility

PHPBuilder.com: Running PHP and Zend Framework Scripts from the Command Line

PHPMaster.com: Working with Dates and Times in PHP and MySQL


Community Events





Don't see your event here?
Let us know!


list threedevsandamaybe laravel opinion code testing api install podcast introduction language community unittest release developer refactor symfony2 interview framework series

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework