Fix #3439: -debug implies -ticky, and -ticky code links with any RTS
[ghc-hetmet.git] / includes / stg / Ticky.h
index fd7edf8..b66c8b2 100644 (file)
@@ -1,9 +1,14 @@
 /* -----------------------------------------------------------------------------
  *
- * (c) The GHC Team, 2007
+ * (c) The GHC Team, 2009
  *
  * Declarations for counters used by ticky-ticky profiling.
  *
+ * Do not #include this file directly: #include "Rts.h" instead.
+ *
+ * To understand the structure of the RTS headers, see the wiki:
+ *   http://hackage.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes
+ *
  * -------------------------------------------------------------------------- */
 
 
@@ -14,7 +19,6 @@
    keep them consistent with the macros that use them (which are
    defined in Cmm.h. */
 
-#ifdef TICKY_TICKY
 /* same trick as in the former StgTicky.h: recycle the same declarations
    for both extern decls (which are included everywhere)
    and initializations (which only happen once) */
@@ -159,8 +163,6 @@ EXTERN StgInt RET_SEMI_loads_avoided INIT(0);
 
 /* End of counter declarations. */
 
-#endif /* TICKY_TICKY */
-
 /* This is ugly, but the story is:
    We got rid of StgTicky.h, which was previously
    defining these macros for the benefit of C code