Declare RTS-private prototypes with __attribute__((visibility("hidden")))
[ghc.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 #pragma GCC visibility push(hidden)
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 #pragma GCC visibility pop
21
22 #endif /* PROFHEAP_H */