[commit: ghc] master: rts: Add -hT to the rts usage message (260e23b)

git at git.haskell.org git at git.haskell.org
Tue May 1 20:04:26 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/260e23b4033f92c1d7326a60320067922ef06da2/ghc

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

commit 260e23b4033f92c1d7326a60320067922ef06da2
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Tue May 1 14:57:31 2018 -0400

    rts: Add -hT to the rts usage message
    
    Reviewers: erikd, simonmar
    
    Subscribers: thomie, carter
    
    GHC Trac Issues: #15086
    
    Differential Revision: https://phabricator.haskell.org/D4643


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

260e23b4033f92c1d7326a60320067922ef06da2
 rts/RtsFlags.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c
index abb9800..eb226ed 100644
--- a/rts/RtsFlags.c
+++ b/rts/RtsFlags.c
@@ -343,6 +343,9 @@ usage_text[] = {
 "  -xt            Include threads (TSOs) in a heap profile",
 "",
 "  -xc      Show current cost centre stack on raising an exception",
+#else
+"",
+"  -hT            Produce a heap profile grouped by closure type"
 #endif /* PROFILING */
 
 #if defined(TRACING)



More information about the ghc-commits mailing list