summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2018-05-01 14:57:31 -0400
committerBen Gamari <ben@smart-cactus.org>2018-05-01 14:58:18 -0400
commit260e23b4033f92c1d7326a60320067922ef06da2 (patch)
tree61bd0fd6f3be6c65dae852aa4f155d29e658baab /rts
parent6212d01542e77b4f8855437280c641854fcd962b (diff)
downloadhaskell-260e23b4033f92c1d7326a60320067922ef06da2.tar.gz
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
Diffstat (limited to 'rts')
-rw-r--r--rts/RtsFlags.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c
index abb980039d..eb226ed3bd 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)