summaryrefslogtreecommitdiffstats
path: root/Examples/php_funccalls_example.txt
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
committergnn <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
commit4297c1b2d07fec7f50b70e26e3adb4d062b19e15 (patch)
treeaec2772e8855e6dbaea6d8136ed0c47bcb825dee /Examples/php_funccalls_example.txt
parent111c75a23278cd9317f0a13867c22ee0f6c95b26 (diff)
downloadFreeBSD-src-4297c1b2d07fec7f50b70e26e3adb4d062b19e15.zip
FreeBSD-src-4297c1b2d07fec7f50b70e26e3adb4d062b19e15.tar.gz
Add the remaining scripts from the DTraceToolkit, version 0.99, to the
vendor tree. http://www.brendangregg.com/dtrace.html#DTraceToolkit
Diffstat (limited to 'Examples/php_funccalls_example.txt')
-rw-r--r--Examples/php_funccalls_example.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Examples/php_funccalls_example.txt b/Examples/php_funccalls_example.txt
new file mode 100644
index 0000000..7155a71
--- /dev/null
+++ b/Examples/php_funccalls_example.txt
@@ -0,0 +1,17 @@
+The following are examples of php_funccalls.d.
+
+This is a simple script to count executed PHP functions. Here it traces
+an example program, Code/Php/func_abc.php
+
+# php_funccalls.d
+Tracing... Hit Ctrl-C to end.
+^C
+ FILE FUNC CALLS
+ func_abc.php func_a 1
+ func_abc.php func_b 1
+ func_abc.php func_c 1
+ func_abc.php sleep 3
+
+While tracing, func_a() from the program "func_abc.php" was executed once,
+as were func_b() and func_c(). sleep was executed three times.
+
OpenPOWER on IntegriCloud