<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 09 Jan 2009 22:11:56 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Experimentalworks Blog: DTracing PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11612</guid>
      <link>http://www.phpdeveloper.org/news/11612</link>
      <description><![CDATA[<p>
On the Experimentalworks blog a <a href="http://blog.experimentalworks.net/archives/98-DTracing-PHP.html">recent post</a> looks at using DTrace, the powerful tool to debug and trace problems in an application, with your PHP applications.
</p>
<blockquote>
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.
</blockquote>
<p>
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.
</p>]]></description>
      <pubDate>Mon, 22 Dec 2008 15:19:10 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Johannes Schluter's Blog: DTraceing around]]></title>
      <guid>http://www.phpdeveloper.org/news/11195</guid>
      <link>http://www.phpdeveloper.org/news/11195</link>
      <description><![CDATA[<p>
After singing the praises of <a href="http://opensolaris.org/os/community/dtrace/">DTrace</a> for a while now, <i>Johannes Schluter</i> decided to show it off in a different way - introducing a <a href="http://blog.uxebu.com/">collegue</a> to it:
</p>
<blockquote>
Yesterday, during a break at the <a href="http://www.barcampmunich.de/">Barcamp Munich</a>, I gave <a href="http://blog.uxebu.com/">Wolfram</a> a short introduction on his Mac and decided to put some stuff here [in this post]. DTrace is a toolkit available on Solaris (Solaris 10 or OpenSolaris), recent MacOS versions and FreeBSD for mightier than tools like truss or strace but with way less impact. DTrace allows you to "hook" (called "probes") into the system and allows to do some analysis then.
</blockquote>
<p>
He shows how to set up some of these "hooks" using D-script to wrap around a simple PHP script call. He alters the results to show things like the memory function its in, how much of the memory its using and a fun little script that "graphs" out the memory usage with "@" symbols. 
</p>]]></description>
      <pubDate>Mon, 13 Oct 2008 11:14:35 -0500</pubDate>
    </item>
  </channel>
</rss>
