sanity check the top stack frame, not the whole stack
[ghc-hetmet.git] / rts / ProfHeap.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The GHC Team, 1998-2005
4  *
5  * Support for heap profiling
6  *
7  * ---------------------------------------------------------------------------*/
8
9 #ifndef PROFHEAP_H
10 #define PROFHEAP_H
11
12 BEGIN_RTS_PRIVATE
13
14 void    heapCensus         (void);
15 nat     initHeapProfiling  (void);
16 void    endHeapProfiling   (void);
17 void    LDV_recordDead     (StgClosure *c, nat size);
18 rtsBool strMatchesSelector (char* str, char* sel);
19
20 END_RTS_PRIVATE
21
22 #endif /* PROFHEAP_H */