Home | History | Annotate | Download | only in callgrind

Lines Matching refs:outbuf

58 static Char outbuf[FILENAME_LEN + FN_NAME_LEN + OBJ_NAME_LEN + COSTS_LEN];
348 VG_(sprintf)(outbuf, "rec=%d\n\n", bbcc->rec_index);
349 my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
363 VG_(sprintf)(outbuf, "frfn=(spontaneous)\n");
364 my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
369 print_fn(fd,outbuf,"frfn", curr_from);
377 VG_(sprintf)(outbuf, "ob=");
378 print_obj(outbuf+3, bbcc->cxt->fn[0]->file->obj);
379 my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
385 VG_(sprintf)(outbuf, "fl=");
386 print_file(outbuf+3, bbcc->cxt->fn[0]->file);
387 my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
394 print_fn(fd,outbuf, "fn", bbcc->cxt->fn[0]);
404 print_mangled_fn(fd, outbuf, "fn", bbcc->cxt, bbcc->rec_index);
533 VG_(sprintf)(outbuf, "fe=");
535 VG_(sprintf)(outbuf, "fi=");
536 print_file(outbuf+3, curr->file);
537 my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
542 VG_(sprintf)(outbuf, "ln=%d\n", curr->line);
543 my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
560 VG_(sprintf)(outbuf, "%lu ", curr->addr - curr->bb_addr);
568 p = VG_(sprintf)(outbuf, "+%d ", diff);
570 p = VG_(sprintf)(outbuf, "* ");
572 p = VG_(sprintf)(outbuf, "%d ", diff);
575 p = VG_(sprintf)(outbuf, "%#lx ", curr->addr);
583 p += VG_(sprintf)(outbuf+p, "+%d ", diff);
585 p += VG_(sprintf)(outbuf+p, "* ");
587 p += VG_(sprintf)(outbuf+p, "%d ", diff);
590 p += VG_(sprintf)(outbuf+p, "%#lx ", curr->bb_addr);
599 VG_(sprintf)(outbuf+p, "+%d ", diff);
601 VG_(sprintf)(outbuf+p, "* ");
603 VG_(sprintf)(outbuf+p, "%d ", diff);
606 VG_(sprintf)(outbuf+p, "%u ", curr->line);
609 my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
620 int p = CLG_(sprint_mappingcost)(outbuf, es, cost);
621 VG_(sprintf)(outbuf+p, "\n");
622 my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
693 VG_(sprintf)(outbuf, "jfi=");
694 print_file(outbuf+4, target.file);
695 my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
700 print_mangled_fn(fd, outbuf, "jfn",
703 print_fn(fd, outbuf, "jfn", jcc->to->cxt->fn[0]);
708 VG_(sprintf)(outbuf, "jcnd=%llu/%llu ",
713 VG_(sprintf)(outbuf, "jump=%llu ",
716 my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
732 VG_(sprintf)(outbuf, "cob=");
733 print_obj(outbuf+4, obj);
734 my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
739 VG_(sprintf)(outbuf, "cfi=");
740 print_file(outbuf+4, file);
741 my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
745 print_mangled_fn(fd, outbuf, "cfn", jcc->to->cxt, jcc->to->rec_index);
747 print_fn(fd, outbuf, "cfn", jcc->to->cxt->fn[0]);
750 VG_(sprintf)(outbuf, "calls=%llu ",
752 my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
895 VG_(sprintf)(outbuf, "# Skipped\n");
896 my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));
1259 p = VG_(sprintf)(outbuf, "%s", prefix);
1260 p += CLG_(sprint_mappingcost)(outbuf + p, em, cost);
1261 VG_(sprintf)(outbuf + p, "\n");
1262 my_fwrite(fd, (void*)outbuf, VG_(strlen)(outbuf));