]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Examples/php_malloc_example.txt
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Examples / php_malloc_example.txt
1 Following are examples of running php_malloc.d.
2
3 Here it is running on Code/Php/func_abc.php
4
5    # php_malloc.d -p 18523
6    Tracing... Hit Ctrl-C to end.
7    ^C
8    
9    PHP malloc byte distributions by engine caller,
10    
11    
12    PHP malloc byte distributions by PHP file and function,
13
14
15 Theoretically this should show you mallocs.  However there weren't any in this
16 example.  The rest of these example files would have been so much easier to
17 write if they were all like this.  I would have been finished by now and would
18 have been flicking through the TV channels with a nice, cold beer in hand.
19
20
21 ... Fixing this example is on my todo list.  Check for newer versions of the
22 toolkit.
23