@@ -290,8 +290,9 @@ benchRules build MkBenchRules{..} = do
290
290
[ build -/- " */*/*/*.csv" ,
291
291
build -/- " */*/*/*.gcStats.log" ,
292
292
build -/- " */*/*/*.output.log" ,
293
+ build -/- " */*/*/*.eventlog" ,
293
294
build -/- " */*/*/*.hp"
294
- ] &%> \ [outcsv, outGc, outLog, outHp] -> do
295
+ ] &%> \ [outcsv, outGc, outLog, outEventlog, outHp] -> do
295
296
let [_, flavour, exampleName, ver, exp ] = splitDirectories outcsv
296
297
prof = fromMaybe (error $ " Not a valid profiling mode: " <> flavour) $ profilingP flavour
297
298
example <- fromMaybe (error $ " Unknown example " <> exampleName)
@@ -302,6 +303,7 @@ benchRules build MkBenchRules{..} = do
302
303
let exePath = build </> " binaries" </> ver </> executableName
303
304
exeExtraArgs =
304
305
[ " +RTS"
306
+ , " -l-au"
305
307
, " -S" <> outGc]
306
308
++ concat
307
309
[[ " -h"
@@ -323,6 +325,7 @@ benchRules build MkBenchRules{..} = do
323
325
AddPath [takeDirectory ghcPath, " ." ] []
324
326
]
325
327
BenchProject {.. }
328
+ liftIO $ renameFile " ghcide.eventlog" outEventlog
326
329
liftIO $ case prof of
327
330
CheapHeapProfiling {} -> renameFile " ghcide.hp" outHp
328
331
NoProfiling -> writeFile outHp dummyHp
0 commit comments