summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-07-04 05:09:21 +0200
committerDaniel Gröber <dxld@darkboxed.org>2019-09-22 15:18:10 +0200
commiteb29735e321e244c161a40cceadd41fcab820f84 (patch)
treefe16d2dc0ec87bfc804bb3a6b3e77da121693c09
parent187192a61a57bdb461b655931618aee80f0928a9 (diff)
downloadhaskell-eb29735e321e244c161a40cceadd41fcab820f84.tar.gz
rts: RetainerProfile.c: Minimize #includes
A lot of these includes are presumably leftovers from when the retainer profiler still did it's own heap profiling.
-rw-r--r--rts/RetainerProfile.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/rts/RetainerProfile.c b/rts/RetainerProfile.c
index 5eaf5802b9..301f712e59 100644
--- a/rts/RetainerProfile.c
+++ b/rts/RetainerProfile.c
@@ -12,21 +12,14 @@
#include "PosixSource.h"
#include "Rts.h"
-#include "RtsUtils.h"
#include "RetainerProfile.h"
#include "RetainerSet.h"
#include "TraverseHeap.h"
-#include "Schedule.h"
-#include "Printer.h"
-#include "Weak.h"
-#include "sm/Sanity.h"
#include "Profiling.h"
#include "Stats.h"
-#include "ProfHeap.h"
-#include "Apply.h"
#include "StablePtr.h" /* markStablePtrTable */
#include "StableName.h" /* rememberOldStableNameAddresses */
-#include "sm/Storage.h" // for END_OF_STATIC_LIST
+#include "sm/Storage.h"
/* Note [What is a retainer?]
~~~~~~~~~~~~~~~~~~~~~~~~~~