@@ -290,8 +290,9 @@ benchRules build MkBenchRules{..} = do
290290 [ build -/- " */*/*/*.csv" ,
291291 build -/- " */*/*/*.gcStats.log" ,
292292 build -/- " */*/*/*.output.log" ,
293+ build -/- " */*/*/*.eventlog" ,
293294 build -/- " */*/*/*.hp"
294- ] &%> \ [outcsv, outGc, outLog, outHp] -> do
295+ ] &%> \ [outcsv, outGc, outLog, outEventlog, outHp] -> do
295296 let [_, flavour, exampleName, ver, exp ] = splitDirectories outcsv
296297 prof = fromMaybe (error $ " Not a valid profiling mode: " <> flavour) $ profilingP flavour
297298 example <- fromMaybe (error $ " Unknown example " <> exampleName)
@@ -302,6 +303,7 @@ benchRules build MkBenchRules{..} = do
302303 let exePath = build </> " binaries" </> ver </> executableName
303304 exeExtraArgs =
304305 [ " +RTS"
306+ , " -l-au"
305307 , " -S" <> outGc]
306308 ++ concat
307309 [[ " -h"
@@ -323,6 +325,7 @@ benchRules build MkBenchRules{..} = do
323325 AddPath [takeDirectory ghcPath, " ." ] []
324326 ]
325327 BenchProject {.. }
328+ liftIO $ renameFile " ghcide.eventlog" outEventlog
326329 liftIO $ case prof of
327330 CheapHeapProfiling {} -> renameFile " ghcide.hp" outHp
328331 NoProfiling -> writeFile outHp dummyHp
0 commit comments