blktrace.c | 242 * ofn, ofd, ofp, obuf & mmap_info are used for output file (optionally). 266 char ofn[MAXPATHLEN + 64]; member in struct:io_info 1469 char *dst = iop->ofn; 1472 len = snprintf(iop->ofn, sizeof(iop->ofn), "%s/", output_dir); 1474 len = snprintf(iop->ofn, sizeof(iop->ofn), "./"); 1484 if (stat(iop->ofn, &sb) < 0) { 1488 iop->ofn, errno, strerror(errno)); 1496 if (mkdir(iop->ofn, 0755) < 0 && errno != EEXIST) [all...] |