summaryrefslogtreecommitdiffstats
path: root/cddl/contrib/dtracetoolkit/Examples/php_malloc_example.txt
blob: 853d082993140a72652ec4c50167d2e1b2ea2508 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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