[Git][ghc/ghc][wip/con-info] add back dumping to eventlog

Matthew Pickering gitlab at gitlab.haskell.org
Tue Nov 3 16:47:55 UTC 2020



Matthew Pickering pushed to branch wip/con-info at Glasgow Haskell Compiler / GHC


Commits:
b71305a2 by Matthew Pickering at 2020-11-03T16:47:43+00:00
add back dumping to eventlog

- - - - -


3 changed files:

- rts/IPE.c
- rts/IPE.h
- rts/RtsStartup.c


Changes:

=====================================
rts/IPE.c
=====================================
@@ -15,17 +15,15 @@
 #include "Arena.h"
 #include "Printer.h"
 #include "Capability.h"
+#include "Trace.h"
 
 #include <fs_rts.h>
 #include <string.h>
 
-#if defined(DEBUG) || defined(PROFILING)
-#include "Trace.h"
-#endif
 
 InfoProvEnt *IPE_LIST = NULL;
 
-static void
+void
 dumpIPEToEventLog(void)
 {
     InfoProvEnt *ip, *next;


=====================================
rts/IPE.h
=====================================
@@ -10,3 +10,4 @@
 
 #include <stdio.h>
 
+void dumpIPEToEventlog(void);


=====================================
rts/RtsStartup.c
=====================================
@@ -364,6 +364,7 @@ hs_init_ghc(int *argc, char **argv[], RtsConfig rts_config)
 #if defined(PROFILING)
     initProfiling();
 #endif
+    //dumpIPEToEventlog();
     initHeapProfiling();
 
     /* start the virtual timer 'subsystem'. */



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b71305a26451fe26196627d4dccd9a7af87b690f

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b71305a26451fe26196627d4dccd9a7af87b690f
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201103/08dc0df5/attachment-0001.html>


More information about the ghc-commits mailing list