projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
oops, initialize atomic_modify_mutvar_mutex
[ghc-hetmet.git]
/
ghc
/
rts
/
Profiling.c
diff --git
a/ghc/rts/Profiling.c
b/ghc/rts/Profiling.c
index
b9900f5
..
028dc5a
100644
(file)
--- 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 )