[xdebug-dev] svn: /xdebug/trunk/ tests/bug00631.phpt xdebug_profiler.c

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Mon, 21 Mar 2011 20:09:18 +0000

derick Mon, 21 Mar 2011 20:09:18 +0000

Revision: http://svn.xdebug.org/cgi-bin/viewvc.cgi?view=rev&revision=3411&root=xdebug

Log:
- Added the (optional) positions line as per section 1.2 of
  http://kcachegrind.sourceforge.net/html/CallgrindFormat.html

Changed paths:
    U xdebug/trunk/tests/bug00631.phpt
    U xdebug/trunk/xdebug_profiler.c

Modified: xdebug/trunk/tests/bug00631.phpt
===================================================================
--- xdebug/trunk/tests/bug00631.phpt 2011-03-21 20:08:32 UTC (rev 3410)
+++ xdebug/trunk/tests/bug00631.phpt 2011-03-21 20:09:18 UTC (rev 3411)
@@ -19,6 +19,7 @@
 part: 1

 events: Time
+positions: line

 fl=php:internal
 fn=php::register_shutdown_function

Modified: xdebug/trunk/xdebug_profiler.c
===================================================================
--- xdebug/trunk/xdebug_profiler.c 2011-03-21 20:08:32 UTC (rev 3410)
+++ xdebug/trunk/xdebug_profiler.c 2011-03-21 20:09:18 UTC (rev 3411)
@@ -84,6 +84,7 @@
         }
         fprintf(XG(profile_file), "version: 1\ncreator: xdebug %s\n", XDEBUG_VERSION);
         fprintf(XG(profile_file), "cmd: %s\npart: 1\n\nevents: Time\n\n", script_name);
+ fprintf(XG(profile_file), "positions: line\n");
         fflush(XG(profile_file));
         return SUCCESS;
 }
Received on Mon Mar 21 2011 - 20:09:18 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST