summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-02-28 22:40:35 -0500
committerBen Gamari <ben@smart-cactus.org>2017-02-28 23:06:54 -0500
commitb86d226fda2f512178e04da4dec96b15c4480507 (patch)
tree6d3fe14311ead3a6cc1081652b2cc2e285649053
parent916658d63d4a8d85f334c10e2a658fed8b3577d0 (diff)
downloadhaskell-b86d226fda2f512178e04da4dec96b15c4480507.tar.gz
rts: Fix build
I evidently neglected to consider that validate doesn't build profiled ways. Arg.
-rw-r--r--includes/rts/Flags.h2
-rw-r--r--rts/Profiling.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/includes/rts/Flags.h b/includes/rts/Flags.h
index c8f71d1342..5195a3a627 100644
--- a/includes/rts/Flags.h
+++ b/includes/rts/Flags.h
@@ -119,7 +119,7 @@ typedef struct _COST_CENTRE_FLAGS {
int profilerTicks; /* derived */
int msecsPerTick; /* derived */
- char const *oututFileNameStem;
+ char const *outputFileNameStem;
} COST_CENTRE_FLAGS;
/* See Note [Synchronization of flags and base APIs] */
diff --git a/rts/Profiling.c b/rts/Profiling.c
index c0d60a5cec..65a9f7dfa5 100644
--- a/rts/Profiling.c
+++ b/rts/Profiling.c
@@ -18,6 +18,7 @@
#include "Arena.h"
#include "RetainerProfile.h"
#include "ProfilerReport.h"
+#include "ProfilerReportJson.h"
#include "Printer.h"
#include "Capability.h"