diff --git a/reference/apd/functions/apd-set-pprof-trace.xml b/reference/apd/functions/apd-set-pprof-trace.xml
new file mode 100644
index 0000000000..51ea301947
--- /dev/null
+++ b/reference/apd/functions/apd-set-pprof-trace.xml
@@ -0,0 +1,53 @@
+
+
+
+
+ apd_set_pprof_trace
+ Starts the session debugging
+
+
+ Description
+
+ voidapd_set_pprof_trace
+ stringdump_directory
+
+
+ Starts debugging to {dump_directory}/apd_dump_{process_id}, if
+ dump_directory is not set, then the apd.dumpdir setting from the
+ &php.ini; file is used.
+
+
+
+ apd_set_pprof_trace example
+
+
+]]>
+
+
+
+
+
+
+
diff --git a/reference/apd/reference.xml b/reference/apd/reference.xml
index 630400d062..5aeb68c231 100644
--- a/reference/apd/reference.xml
+++ b/reference/apd/reference.xml
@@ -1,5 +1,5 @@
-
+
Advanced PHP debugger
APD
@@ -34,7 +34,7 @@
@@ -62,8 +62,8 @@ APD - Advanced PHP Debugger Trace File
Process Pid (31994)
Trace Begun at Fri Aug 10 16:37:45 2001
---------------------------------------------------------------------------
-( 0.000000): apd_set_session_trace called at somewhere
-( 0.001482): apd_set_session_trace() returned. Elapsed (997475865.364909)
+( 0.000000): apd_set_pprof_trace called at somewhere
+( 0.001482): apd_set_pprof_trace() returned. Elapsed (997475865.364909)
( 0.001563): getcwd() /opt/apache/htdocs/a.php:4
( 0.001628): getcwd() returned. Elapsed (0.000065)
( 0.001819): require() /opt/apache/htdocs/a.php:6