<?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>Thu, 23 May 2013 01:08:52 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[David Parra: Probing PHP with Systemtap on Linux]]></title>
      <guid>http://www.phpdeveloper.org/news/18846</guid>
      <link>http://www.phpdeveloper.org/news/18846</link>
      <description><![CDATA[<p>
<i>David Parra</i> has a new post to his site today about a method of <a href="http://blog.experimentalworks.net/2012/12/probing-php-with-systemtap-on-linux/">using Systemtap to profile PHP</a> as the code executes (as an alternative when <a href="http://docs.oracle.com/cd/E19253-01/817-6223/index.html">DTrace</a> may not be available.
</p>
<blockquote>
PHP introduced DTrace support with PHP 5.3, enabling probing points in the PHP executable that can be used to simplify probing of PHP applications without having to the PHP implementation details. We enabled probes on function calls, file compilation, exceptions and errors. But this has always been limited to the operating systems that support DTrace. With the popularity of DTrace, Systemap programmers decided to add a DTrace compatibility layer that allows to use DTrace probes as Systemtap probing points as well.
</blockquote>
<p>
Thanks to a recent commit to the PHP 5.5 branch, your PHP installation (compiled with DTrace support) can be executed with the "stap" command and searched for probe points. He includes a simple Systemtap script that counts the calls of a specific function to get you started. 
</p>]]></description>
      <pubDate>Wed, 05 Dec 2012 10:41:30 -0600</pubDate>
    </item>
  </channel>
</rss>
