Patch and RFC for adding DTrace probes to PHP

From: Date: Tue, 14 Jul 2009 21:31:26 +0000
Subject: Patch and RFC for adding DTrace probes to PHP
Groups: php.internals 
Request: Send a blank email to internals+get-44964@lists.php.net to get a copy of this message
Hi List, in the last months I worked on adding DTrace probes to PHP and would like to start a discussion about the RFC and patch against trunk that can be found at: http://wiki.php.net/rfc/dtrace DTrace is a dynamic tracing framework for Solaris, OpenSolaris, Mac OSX and FreeBSD that can be used to trace running applications on a system based on instrumentation points in the kernel and the application. The patch aims to include static probes into PHP which will better reflect PHP execution from a user persective. At the moment PHP can only be traced with deep knowledge of the executor and it's functions. The patch is based on recent trunk and can be found at: http://patches.experimentalworks.net/dtrace.patch In the current state the patch introduces a wrapper for the current executor to fire function-entry probes. It was mentioned that it might be useful to not use an own funciton for that. As I want to make things cleaner for the current state of review, I decided to use a separate function. The patch was tested on Mac OS 10.5, Solaris 10 and OpenSolaris 2009.06. David

« previous php.internals (#44964) next »