[pypy-svn] r52831 - pypy/branch/jit-hotpath/pypy/jit/timeshifter

arigo at codespeak.net arigo at codespeak.net
Sat Mar 22 15:56:32 CET 2008


Author: arigo
Date: Sat Mar 22 15:56:29 2008
New Revision: 52831

Modified:
   pypy/branch/jit-hotpath/pypy/jit/timeshifter/rdump.py
Log:
Seems to work.  Add some documentation.


Modified: pypy/branch/jit-hotpath/pypy/jit/timeshifter/rdump.py
==============================================================================
--- pypy/branch/jit-hotpath/pypy/jit/timeshifter/rdump.py	(original)
+++ pypy/branch/jit-hotpath/pypy/jit/timeshifter/rdump.py	Sat Mar 22 15:56:29 2008
@@ -1,3 +1,14 @@
+"""Dumps jitstates, frames, redboxes and containers as a .dot file.
+
+Usage from a C-level debugger: call one the following global functions
+with a pointer to the object in question as a single argument:
+
+  * pypy_g_dump_jitstate()
+  * pypy_g_dump_frame()
+  * pypy_g_dump_redbox()
+  * pypy_g_dump_container()
+
+"""
 import os
 from pypy.rpython.lltypesystem import lltype, llmemory
 from pypy.jit.timeshifter import rvalue, rcontainer, vlist



More information about the Pypy-commit mailing list