xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Examples/php_malloc_example.txt (revision c29d51755812ace2e87aeefdb06cb2b4dac7087a)
1Following are examples of running php_malloc.d.
2
3Here 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
15Theoretically this should show you mallocs.  However there weren't any in this
16example.  The rest of these example files would have been so much easier to
17write if they were all like this.  I would have been finished by now and would
18have 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
22toolkit.
23
24