Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
Readme | H A D | 30-Sep-2015 | 1.3 KiB | 29 | 21 | |
py_calldist.d | H A D | 30-Sep-2015 | 2.2 KiB | 83 | 35 | |
py_calltime.d | H A D | 30-Sep-2015 | 2.6 KiB | 90 | 43 | |
py_cpudist.d | H A D | 30-Sep-2015 | 2.2 KiB | 83 | 35 | |
py_cputime.d | H A D | 30-Sep-2015 | 2.6 KiB | 90 | 43 | |
py_flow.d | H A D | 30-Sep-2015 | 1.9 KiB | 71 | 20 | |
py_flowinfo.d | H A D | 30-Sep-2015 | 2.3 KiB | 87 | 33 | |
py_flowtime.d | H A D | 30-Sep-2015 | 2.4 KiB | 90 | 34 | |
py_funccalls.d | H A D | 30-Sep-2015 | 1.4 KiB | 56 | 15 | |
py_malloc.d | H A D | 30-Sep-2015 | 2.2 KiB | 82 | 38 | |
py_mallocstk.d | H A D | 30-Sep-2015 | 1.2 KiB | 50 | 17 | |
py_profile.d | H A D | 30-Sep-2015 | 2.4 KiB | 80 | 22 | |
py_syscalls.d | H A D | 30-Sep-2015 | 1.7 KiB | 64 | 21 | |
py_syscolors.d | H A D | 30-Sep-2015 | 3.2 KiB | 117 | 63 | |
py_who.d | H A D | 30-Sep-2015 | 1.4 KiB | 57 | 15 |
Readme
1Python - DTracing Python 2 3 These scripts trace the Python programming language, and require a version 4 of Python which has been built with DTrace probes. 5 6 The Python DTrace provider was originally written by John Levon, and 7 was integrated into Solaris Nevada in build 65. If you are on a different 8 OS with DTrace and would like to use these scripts, you could download 9 Python and the Python DTrace provider patch listed in the comments here, 10 11 http://blogs.sun.com/levon/entry/python_and_dtrace_in_build 12 13 You will need patch and build Python for these probes to work. 14 Or, check if a pre-built package is available someone on opensolaris.org. 15 16 Since the DTrace Python provider may be developed further, there is a chance 17 that it has changed slightly by the time you are reading this, causing 18 these scripts to either break or behave oddly. Firstly, check for newer 19 versions of the DTraceToolkit; if it hasn't been updated and you need 20 to use these scripts immediately, then updating them shouldn't take 21 too long. The following was the state of the provider when these scripts 22 were written - check for changes and update the scripts accordingly, 23 24 provider python { 25 probe function-entry(file, subroutine, lineno) 26 probe function-return(file, subroutine, lineno) 27 }; 28 29