diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2020-12-21 09:15:45 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-02-27 07:59:33 -0500 |
commit | 966a768e9b99e72c9d98a1c971427044888d6de9 (patch) | |
tree | ac7773fcf7bf854790609846e20b3001ca7a12d1 /rts/ProfHeap.c | |
parent | 98dd09afdebe8d5b6def4c3b11a4c0495df47de4 (diff) | |
download | haskell-966a768e9b99e72c9d98a1c971427044888d6de9.tar.gz |
Remove the -xt heap profiling option
It should be left to tooling to perform the filtering to remove these
specific closure types from the profile if desired.
Fixes #16795
Diffstat (limited to 'rts/ProfHeap.c')
-rw-r--r-- | rts/ProfHeap.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c index 0bd8423b4c..f880f5f406 100644 --- a/rts/ProfHeap.c +++ b/rts/ProfHeap.c @@ -1179,35 +1179,13 @@ heapCensusBlock(Census *census, bdescr *bd) case TSO: prim = true; -#if defined(PROFILING) - if (RtsFlags.ProfFlags.includeTSOs) { - size = sizeofW(StgTSO); - break; - } else { - // Skip this TSO and move on to the next object - p += sizeofW(StgTSO); - continue; - } -#else size = sizeofW(StgTSO); break; -#endif case STACK: prim = true; -#if defined(PROFILING) - if (RtsFlags.ProfFlags.includeTSOs) { - size = stack_sizeW((StgStack*)p); - break; - } else { - // Skip this TSO and move on to the next object - p += stack_sizeW((StgStack*)p); - continue; - } -#else size = stack_sizeW((StgStack*)p); break; -#endif case TREC_CHUNK: prim = true; |