blob: 064ff9d7ad6542cf6a79b9b0668e56380d304912 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/* -----------------------------------------------------------------------------
*
* (c) The GHC Team, 1998-2021
*
* Support for IPE
*
* ---------------------------------------------------------------------------*/
#pragma once
#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"
|