X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FProfiling.c;h=028dc5a5091bf04fa8cdde31cf382ddf102f5b67;hb=28a464a75e14cece5db40f2765a29348273ff2d2;hp=b9900f51c02ae95b2ac4bbc51204c2d298478009;hpb=03dc2dd3dd814ad85cc4c45e9cafc7b73163c8be;p=ghc-hetmet.git diff --git a/ghc/rts/Profiling.c b/ghc/rts/Profiling.c index b9900f5..028dc5a 100644 --- a/ghc/rts/Profiling.c +++ b/ghc/rts/Profiling.c @@ -916,6 +916,13 @@ fprintCCS( FILE *f, CostCentreStack *ccs ) fprintf(f,">"); } +/* For calling from .cmm code, where we can't reliably refer to stderr */ +void +fprintCCS_stderr( CostCentreStack *ccs ) +{ + fprintCCS(stderr, ccs); +} + #ifdef DEBUG void debugCCS( CostCentreStack *ccs )