1 .TH php_malloc.d 1m "$Date:: 2007-10-03 #$" "USER COMMANDS"
3 php_malloc.d - PHP libc malloc analysis.
8 This is an expiremental script to identify who is calling malloc() for
9 memory allocation, and to print distribution plots of the requested bytes.
10 If a malloc() occured while in a PHP function, then that function is
11 identified as responsible; else the caller of malloc() is identified as
12 responsible - which will be a function from the PHP engine.
14 Filename and function names are printed if available.
18 Evolving - uses the DTrace Php provider, which may change
19 as additional features are introduced. Check Php/Readme
20 to see what version these scripts are based on.
29 See the DTraceToolkit for further documentation under the
30 Examples, Notes and Docs directories. The example files may be
31 especially useful as they aim to demonstrate how to interpret
34 php_malloc.d will run until Ctrl-C is hit.