*
* ------------------------------------------------------------------------*/
-#include <stdio.h>
-
#define IN_STG_CODE 0
// We need offsets of profiled things... better be careful that this
#include "RtsFlags.h"
#include "Storage.h"
+#include <stdio.h>
+
#define str(a,b) #a "_" #b
#define OFFSET(s_type, field) ((unsigned int)&(((s_type*)0)->field))
struct_field(bdescr, link);
struct_size(generation);
- struct_field(generation, mut_once_list);
+ struct_field(generation, mut_list);
struct_field(CostCentreStack, ccsID);
struct_field(CostCentreStack, mem_alloc);
closure_payload(StgArrWords, payload);
closure_field(StgTSO, link);
- closure_field(StgTSO, mut_link);
closure_field(StgTSO, global_link);
closure_field(StgTSO, what_next);
closure_field(StgTSO, why_blocked);
closure_payload(StgAP_STACK, payload);
closure_field(StgInd, indirectee);
- closure_field(StgMutClosure, mut_link);
closure_size(StgMutVar);
closure_field(StgMutVar, var);
struct_field(snEntry,sn_obj);
struct_field(snEntry,addr);
-#ifdef mingw32_TARGET_OS
+#ifdef mingw32_HOST_OS
struct_size(StgAsyncIOResult);
struct_field(StgAsyncIOResult, reqID);
struct_field(StgAsyncIOResult, len);