/external/blktrace/btt/ |
args.c | 248 FILE *ofp = my_fopen(fname, "w"); local 250 if (!ofp) { 256 setbuffer(ofp, buf, SETBUFFER_SIZE); 258 add_file(ofp, fname); 261 return ofp;
|
misc.c | 36 FILE *ofp; member in struct:file_info 56 fclose(fip->ofp); 122 fip->ofp = fp;
|
output.c | 54 void output_section_hdr(FILE *ofp, char *hdr) 56 fprintf(ofp, "==================== "); 57 fprintf(ofp, "%s", hdr); 58 fprintf(ofp, " ====================\n\n"); 61 void output_hdr(FILE *ofp, char *hdr) 63 fprintf(ofp, "%15s %13s %13s %13s %11s\n", 65 fprintf(ofp, "--------------- ------------- ------------- ------------- -----------\n"); 68 void __output_avg(FILE *ofp, char *hdr, struct avg_info *ap, int do_easy) 72 fprintf(ofp, "%-15s %13.9f %13.9f %13.9f %11d\n", hdr, 94 FILE *ofp; member in struct:__oda 118 FILE *ofp; member in struct:__q2d 128 FILE *ofp = q2dp->ofp; local 250 FILE *ofp; member in struct:ohead_data 487 FILE *ofp; member in struct:__opa 523 FILE *ofp = arg; local 569 FILE *ofp = arg; local 678 FILE *ofp; local 830 FILE *ofp; member in struct:__od 858 FILE *ofp; member in struct:__op [all...] |
/external/blktrace/ |
blkrawverify.c | 104 static void dump_trace(FILE *ofp, char *prefix, struct blk_io_trace *bit) 106 fprintf(ofp, " Dump %s\n", prefix); 107 fprintf(ofp, " %8s: %08x\n", "magic", bit->magic); 108 fprintf(ofp, " %8s: %u\n", "sequence", bit->sequence); 109 fprintf(ofp, " %8s: %llu\n", "time", (unsigned long long) bit->time); 110 fprintf(ofp, " %8s: %llu\n", "sector", (unsigned long long) bit->sector); 111 fprintf(ofp, " %8s: %u\n", "bytes", bit->bytes); 112 fprintf(ofp, " %8s: %s\n", "action", act_to_str(bit->action)); 113 fprintf(ofp, " %8s: %u\n", "bytes", bit->bytes); 114 fprintf(ofp, " %8s: %u\n", "cpu", bit->cpu) 144 FILE *ifp, *ofp; local 281 FILE *ofp; local [all...] |
blkparse.c | 261 FILE *ofp = NULL; variable 608 fprintf(ofp, [all...] |
blktrace.c | 242 * ofn, ofd, ofp, obuf & mmap_info are used for output file (optionally). 246 FILE *ofp; member in struct:io_info 1517 if (setvbuf(iop->ofp, iop->obuf, mode, size) < 0) { 1946 FILE *ofp; local [all...] |
/external/linux-tools-perf/util/scripting-engines/ |
trace-event-perl.c | 411 FILE *ofp; local 414 ofp = fopen(fname, "w"); 415 if (ofp == NULL) { 420 fprintf(ofp, "# perf script event handlers, " 423 fprintf(ofp, "# Licensed under the terms of the GNU GPL" 426 fprintf(ofp, "# The common_* event handler fields are the most useful " 429 fprintf(ofp, "# all events. They don't necessarily correspond to " 432 fprintf(ofp, "# in the format files. Those fields not available as " 435 fprintf(ofp, "# be retrieved using Perl functions of the form " 438 fprintf(ofp, "# See Context.pm for the list of available [all...] |
trace-event-python.c | 442 FILE *ofp; local 445 ofp = fopen(fname, "w"); 446 if (ofp == NULL) { 450 fprintf(ofp, "# perf script event handlers, " 453 fprintf(ofp, "# Licensed under the terms of the GNU GPL" 456 fprintf(ofp, "# The common_* event handler fields are the most useful " 459 fprintf(ofp, "# all events. They don't necessarily correspond to " 462 fprintf(ofp, "# in the format files. Those fields not available as " 465 fprintf(ofp, "# be retrieved using Python functions of the form " 468 fprintf(ofp, "# See the perf-trace-python Documentation for the list [all...] |
/external/blktrace/btreplay/ |
btrecord.c | 79 * @ofp: Output file 91 FILE *ofp, *vfp; member in struct:io_stream 238 fseek(stream->ofp, 0, SEEK_SET); 239 if (fwrite(hdr, sizeof(*hdr), 1, stream->ofp) != 1) { 576 if (fwrite(hdrp, sizeof(struct io_bunch_hdr), 1, stream->ofp) != 1) { 603 if (fwrite(p, sizeof(struct io_pkt), npkts, stream->ofp) != npkts) { 692 stream->ofp = fopen(ofile_name, "w"); 693 if (!stream->ofp) { 738 fclose(stream->ofp);
|