[project @ 1998-11-26 09:17:22 by sof]
[ghc-hetmet.git] / ghc / runtime / profiling / HeapProfile.lc
index 373e9ff..960fe7d 100644 (file)
@@ -309,7 +309,7 @@ heap_profile_init(argv)
        fprintf(heap_file, "}");
     }
     if (type_select_no) {
-       fprintf(heap_file, " -t{%s", type_select_strs[0]);
+       fprintf(heap_file, " -y{%s", type_select_strs[0]);
        for (count = 1; count < type_select_no; count++)
            fprintf(heap_file, ",%s", type_select_strs[count]);
        fprintf(heap_file, "}");
@@ -632,7 +632,7 @@ heap_profile_done(STG_NO_ARGS)        /* called at end of heap profile */
       case HEAP_BY_CC:
        for (ind = 0; ind < max; ind++) {
            if ((cc = index_cc_table[ind]) != 0 && ! cc_to_ignore(cc)) {
-               fprintf(heap_file, "  %0.11s:%0.16s %ld\n", cc->module, cc->label, resid[ind] * sizeof(W_));
+               fprintf(heap_file, "  %s:%s %ld\n", cc->module, cc->label, resid[ind] * sizeof(W_));
            }
            resid[ind] = 0;
        }
@@ -641,7 +641,7 @@ heap_profile_done(STG_NO_ARGS)        /* called at end of heap profile */
       case HEAP_BY_MOD:
        for (ind = 0; ind < max; ind++) {
            if ((cc = index_mod_table[ind]) != 0 && ! cc_to_ignore(cc)) {
-               fprintf(heap_file, "  %0.11s %ld\n", cc->module, resid[ind] * sizeof(W_));
+               fprintf(heap_file, "  %s %ld\n", cc->module, resid[ind] * sizeof(W_));
            }
            resid[ind] = 0;
        }