diff options
Diffstat (limited to 'rts/RtsSymbols.c')
-rw-r--r-- | rts/RtsSymbols.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c index 569255094f..3a4355797e 100644 --- a/rts/RtsSymbols.c +++ b/rts/RtsSymbols.c @@ -641,10 +641,25 @@ SymI_HasProto(stg_INTLIKE_closure) #endif +#if defined(PROFILING) +#define RTS_PROF_SYMBOLS \ + SymI_HasProto(CCS_DONT_CARE) \ + SymI_HasProto(CC_LIST) \ + SymI_HasProto(CC_ID) \ + SymI_HasProto(CCS_LIST) \ + SymI_HasProto(CCS_ID) \ + SymI_HasProto(stg_restore_cccs_info) \ + SymI_HasProto(enterFunCCS) \ + SymI_HasProto(pushCostCentre) \ + SymI_HasProto(era) +#else +#define RTS_PROF_SYMBOLS /* empty */ +#endif #define RTS_SYMBOLS \ Maybe_Stable_Names \ RTS_TICKY_SYMBOLS \ + RTS_PROF_SYMBOLS \ SymI_HasProto(StgReturn) \ SymI_HasProto(stg_gc_noregs) \ SymI_HasProto(stg_ret_v_info) \ |