xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/php_malloc_example.txt (revision 6881a4007f077b54e5f51159c52b9b25f57deb0d)
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