summaryrefslogtreecommitdiff
path: root/rts/RtsFlags.c
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2020-12-21 09:15:45 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-02-27 07:59:33 -0500
commit966a768e9b99e72c9d98a1c971427044888d6de9 (patch)
treeac7773fcf7bf854790609846e20b3001ca7a12d1 /rts/RtsFlags.c
parent98dd09afdebe8d5b6def4c3b11a4c0495df47de4 (diff)
downloadhaskell-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/RtsFlags.c')
-rw-r--r--rts/RtsFlags.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c
index 42a4490e9b..a5ec423f8d 100644
--- a/rts/RtsFlags.c
+++ b/rts/RtsFlags.c
@@ -214,7 +214,6 @@ void initRtsFlagsDefaults(void)
RtsFlags.ProfFlags.heapProfileInterval = USToTime(100000); // 100ms
#if defined(PROFILING)
- RtsFlags.ProfFlags.includeTSOs = false;
RtsFlags.ProfFlags.showCCSOnException = false;
RtsFlags.ProfFlags.maxRetainerSetSize = 8;
RtsFlags.ProfFlags.ccsLength = 25;
@@ -1697,11 +1696,9 @@ error = true;
case 't': /* Include memory used by TSOs in a heap profile */
OPTION_SAFE;
- PROFILING_BUILD_ONLY(
- RtsFlags.ProfFlags.includeTSOs = true;
- );
- unchecked_arg_start++;
- goto check_rest;
+ errorBelch("The -xt option has been removed (#16795)");
+ error = true;
+ break;
/*
* The option prefix '-xx' is reserved for future