diff options
author | Ben Price <ben@brprice.uk> | 2019-01-08 22:16:10 +0000 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-01-16 14:17:20 -0500 |
commit | 236abdb80ab894b093faca7911ad8cabd6dc3e81 (patch) | |
tree | e7654d5cfe0770cc87d51b7b8b9dbcb10c591837 /rts | |
parent | a303695b0ac8c73455d080808d437af1bed21b18 (diff) | |
download | haskell-236abdb80ab894b093faca7911ad8cabd6dc3e81.tar.gz |
rts: Allow heap prof by closure type in prof way
Complete b7b6617a90824303daf555c817f538cd9c792671 (see ticket #15086) to
actually enable profiling by closure type in the profiling rts. I.e.
+RTS -p -hT is now accepted.
Diffstat (limited to 'rts')
-rw-r--r-- | rts/RtsFlags.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c index 999b727207..132d12753c 100644 --- a/rts/RtsFlags.c +++ b/rts/RtsFlags.c @@ -1906,6 +1906,7 @@ static bool read_heap_profiling_flag(const char *arg) case 'r': case 'B': case 'b': + case 'T': if (arg[2] != '\0' && arg[3] != '\0') { { const char *left = strchr(arg, '{'); |