[commit: ghc] master: rts: Fix build (b86d226)

git at git.haskell.org git at git.haskell.org
Wed Mar 1 04:07:09 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/b86d226fda2f512178e04da4dec96b15c4480507/ghc

>---------------------------------------------------------------

commit b86d226fda2f512178e04da4dec96b15c4480507
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue Feb 28 22:40:35 2017 -0500

    rts: Fix build
    
    I evidently neglected to consider that validate doesn't build profiled
    ways. Arg.


>---------------------------------------------------------------

b86d226fda2f512178e04da4dec96b15c4480507
 includes/rts/Flags.h | 2 +-
 rts/Profiling.c      | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/includes/rts/Flags.h b/includes/rts/Flags.h
index c8f71d1..5195a3a 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 c0d60a5..65a9f7d 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"
 



More information about the ghc-commits mailing list