[commit: ghc] ghc-8.0: user-guide: Document -L RTS flag (e1b7490)

git at git.haskell.org git at git.haskell.org
Mon Jan 25 15:57:51 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/e1b7490cadc3d08eb9ec2bc207e43f7254158c61/ghc

>---------------------------------------------------------------

commit e1b7490cadc3d08eb9ec2bc207e43f7254158c61
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sat Jan 23 22:03:04 2016 +0100

    user-guide: Document -L RTS flag
    
    See #5641.
    
    (cherry picked from commit 923d2151db261cac36577bcaffa6be41c3f374f9)


>---------------------------------------------------------------

e1b7490cadc3d08eb9ec2bc207e43f7254158c61
 docs/users_guide/runtime_control.rst | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/docs/users_guide/runtime_control.rst b/docs/users_guide/runtime_control.rst
index db983fa..7c4159a 100644
--- a/docs/users_guide/runtime_control.rst
+++ b/docs/users_guide/runtime_control.rst
@@ -797,13 +797,18 @@ executables:
 
 .. rts-flag:: -hT
 
-    (can be shortened to ``-h``.) Generates a basic heap profile, in the
-    file :file:`prog.hp`. To produce the heap profile graph, use :command:`hp2ps`
-    (see :ref:`hp2ps`). The basic heap profile is broken down by data
-    constructor, with other types of closures (functions, thunks, etc.)
-    grouped into broad categories (e.g. ``FUN``, ``THUNK``). To get a
-    more detailed profile, use the full profiling support
-    (:ref:`profiling`).
+    Generates a basic heap profile, in the file :file:`prog.hp`. To produce the
+    heap profile graph, use :command:`hp2ps` (see :ref:`hp2ps`). The basic heap
+    profile is broken down by data constructor, with other types of closures
+    (functions, thunks, etc.) grouped into broad categories (e.g. ``FUN``,
+    ``THUNK``). To get a more detailed profile, use the full profiling support
+    (:ref:`profiling`). Can be shortened to ``-h``.
+
+.. rts-flag:: -L <n>
+
+    :default: 25 characters
+
+    Sets the maximum length of the cost-centre names listed in the heap profile.
 
 .. _rts-eventlog:
 



More information about the ghc-commits mailing list