David
I have been talking with some Drupal users and some of them showed lot
of interest to be able to print out the function arguments as well as
part of DTrace function-entry probes.
- Sriram
David Soria Parra wrote:
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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php