summaryrefslogtreecommitdiff
path: root/rts/IPE.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/IPE.h')
-rw-r--r--rts/IPE.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/rts/IPE.h b/rts/IPE.h
index 48b4c62f00..064ff9d7ad 100644
--- a/rts/IPE.h
+++ b/rts/IPE.h
@@ -1,6 +1,6 @@
/* -----------------------------------------------------------------------------
*
- * (c) The GHC Team, 1998-2005
+ * (c) The GHC Team, 1998-2021
*
* Support for IPE
*
@@ -8,11 +8,27 @@
#pragma once
-#include <stdio.h>
#include "Rts.h"
+#include <stdio.h>
#include "BeginPrivate.h"
+#define IPE_LIST_NODE_BUFFER_SIZE 126
+
+typedef struct IpeBufferListNode_ {
+ InfoProvEnt **buffer[IPE_LIST_NODE_BUFFER_SIZE];
+ StgWord8 count;
+ struct IpeBufferListNode_ *next;
+} IpeBufferListNode;
+
void dumpIPEToEventLog(void);
+void updateIpeMap(void);
+void initIpeMapLock(void);
+void closeIpeMapLock(void);
+
+#if defined(TRACING)
+void traceIPEFromHashTable(void *data STG_UNUSED, StgWord key STG_UNUSED,
+ const void *value);
+#endif
#include "EndPrivate.h"