Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44969 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49891 invoked from network); 14 Jul 2009 22:53:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jul 2009 22:53:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=sriram.natarajan@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=sriram.natarajan@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.176 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: sriram.natarajan@gmail.com X-Host-Fingerprint: 209.85.216.176 mail-px0-f176.google.com Received: from [209.85.216.176] ([209.85.216.176:42189] helo=mail-px0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1C/F2-54820-85C0D5A4 for ; Tue, 14 Jul 2009 18:53:13 -0400 Received: by pxi6 with SMTP id 6so584834pxi.29 for ; Tue, 14 Jul 2009 15:53:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=LD1uJMlhz3zrbqnsQgSPmvGdZrdHcy3wH746tzwVfMI=; b=JrSCiqUq9OsDJvqn6wNp+UdHNnacvgHcjZ+h33SBCP1EQmSPsyttnZAgF2HKgidrh/ WLCOH/1obKQ55vZBl8KlrIbZslWEC2h5Z22lJWMvRNPBySiAHzC7SHnrZdpoA+rIsfY4 XR0RCA5F+LFoVPFe52WVLbXeXo9lCOIO3zFF0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=Ogr3BV/ZQ+F57djs6pU/kLv66smf1PMhv44gvmSaX8rO9DOB7hFOoKrxCjDP89ATe5 8cqA45t4NZ8Y87UxzZN574t6zudmCFXdF9TqOCWRBJuGmOX3d8fetYNI7sdvmVgcnXKa yyclDJV8SXcahQQgmFh5uZJcBfS0zl6h7mAtA= Received: by 10.114.67.17 with SMTP id p17mr11343539waa.203.1247611988301; Tue, 14 Jul 2009 15:53:08 -0700 (PDT) Received: from ?192.18.120.213? ([192.18.120.213]) by mx.google.com with ESMTPS id l28sm11901303waf.19.2009.07.14.15.53.06 (version=SSLv3 cipher=RC4-MD5); Tue, 14 Jul 2009 15:53:07 -0700 (PDT) Message-ID: <4A5D0C35.4010804@GMail.COM> Date: Tue, 14 Jul 2009 15:52:37 -0700 User-Agent: Thunderbird 2.0.0.21 (X11/20090323) MIME-Version: 1.0 To: David Soria Parra CC: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Patch and RFC for adding DTrace probes to PHP From: sriram.natarajan@gmail.com (Sriram Natarajan) 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 > >