diff options
author | Ravi Nanavati <ravi@bluespec.com> | 2006-09-29 22:53:24 +0000 |
---|---|---|
committer | Ravi Nanavati <ravi@bluespec.com> | 2006-09-29 22:53:24 +0000 |
commit | 3cdb0ada5aecbcbe940bacf577c02c41bc65c629 (patch) | |
tree | d7f4abcdeee7f994231cb2b65fc60e18d7c0cf26 /rts/ProfHeap.c | |
parent | 16871485a44ba8a6e93e40f30af7ea46839e0c4c (diff) | |
download | haskell-3cdb0ada5aecbcbe940bacf577c02c41bc65c629.tar.gz |
hp_slash_fix
Fix output of cost-centre stacks so that the slashes appear in the correct place
Please include this patch in the 6.6 branch as well as HEAD
Diffstat (limited to 'rts/ProfHeap.c')
-rw-r--r-- | rts/ProfHeap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c index 0ee53f3e22..1878d9009f 100644 --- a/rts/ProfHeap.c +++ b/rts/ProfHeap.c @@ -541,10 +541,10 @@ fprint_ccs(FILE *fp, CostCentreStack *ccs, nat max_length) p += buf_append(p, ccs->cc->module, buf_end); p += buf_append(p, ".CAF", buf_end); } else { + p += buf_append(p, ccs->cc->label, buf_end); if (ccs->prevStack != NULL && ccs->prevStack != CCS_MAIN) { p += buf_append(p, "/", buf_end); } - p += buf_append(p, ccs->cc->label, buf_end); } if (p >= buf_end) { |