[commit: ghc] master: Build more profiling ways by default (#682) (9bf046f)

git at git.haskell.org git at git.haskell.org
Tue Oct 23 20:20:21 UTC 2018


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

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

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

commit 9bf046f153911f3e5aedf081a394af9ae33bf1c6
Author: Alp Mestanogullari <alpmestan at gmail.com>
Date:   Mon Sep 10 17:40:44 2018 +0200

    Build more profiling ways by default (#682)
    
    See #681


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

9bf046f153911f3e5aedf081a394af9ae33bf1c6
 src/Settings/Default.hs | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/Settings/Default.hs b/src/Settings/Default.hs
index b3828fa..e9d4f68 100644
--- a/src/Settings/Default.hs
+++ b/src/Settings/Default.hs
@@ -157,7 +157,12 @@ defaultRtsWays = do
     ways <- getLibraryWays
     mconcat
         [ pure [ logging, debug, threaded, threadedDebug, threadedLogging ]
-        , (profiling `elem` ways) ? pure [threadedProfiling]
+        , (profiling `elem` ways) ?
+          pure [ profiling, threadedProfiling, debugProfiling
+               , threadedDebugProfiling ]
+          -- we don't add the 'logging' variants of those for now, but we might
+          -- in the future?
+
         {- , (dynamic `elem` ways) ?
           pure [ dynamic, debugDynamic, threadedDynamic, threadedDebugDynamic
                , loggingDynamic, threadedLoggingDynamic ] -}



More information about the ghc-commits mailing list