1 .TH py_malloc.d 1m "$Date:: 2007-10-03 #$" "USER COMMANDS"
3 py_malloc.d - Python 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 Python 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 Python engine.
14 Filename and function names are printed if available.
18 Evolving - uses the DTrace Python provider, which may change
19 as additional features are introduced. Check Python/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 py_malloc.d will run until Ctrl-C is hit.