summaryrefslogtreecommitdiffstats
path: root/Examples/php_malloc_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_malloc_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_malloc_example.txt')
-rw-r--r--Examples/php_malloc_example.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Examples/php_malloc_example.txt b/Examples/php_malloc_example.txt
new file mode 100644
index 0000000..853d082
--- /dev/null
+++ b/Examples/php_malloc_example.txt
@@ -0,0 +1,23 @@
+Following are examples of running php_malloc.d.
+
+Here it is running on Code/Php/func_abc.php
+
+ # php_malloc.d -p 18523
+ Tracing... Hit Ctrl-C to end.
+ ^C
+
+ PHP malloc byte distributions by engine caller,
+
+
+ PHP malloc byte distributions by PHP file and function,
+
+
+Theoretically this should show you mallocs. However there weren't any in this
+example. The rest of these example files would have been so much easier to
+write if they were all like this. I would have been finished by now and would
+have been flicking through the TV channels with a nice, cold beer in hand.
+
+
+... Fixing this example is on my todo list. Check for newer versions of the
+toolkit.
+
OpenPOWER on IntegriCloud