Home | History | Annotate | Download | only in strace

Lines Matching defs:outfname

116 static char *outfname = NULL;
361 if (outfname && followfork > 1) {
365 sprintf(name, "%.512s.%u", outfname, tcp->pid);
870 outfname = strdup(optarg);
975 if (outfname) {
977 if (outfname[0] == '|' || outfname[0] == '!') {
979 * We can't do the <outfname>.PID funny business
989 if ((outf = strace_popen(outfname + 1)) == NULL)
993 (outf = strace_fopen(outfname, "w")) == NULL)
997 if (!outfname || outfname[0] == '|' || outfname[0] == '!')
999 if (outfname && optind < argc) {
1005 optind < argc pflag_seen outfname interactive
1534 if (outfname && followfork > 1 && tcp->outf)
1798 (!outfname || followfork < 2 || tcp_last == tcp)) {
2761 perror(outfname == NULL
2762 ? "<writing to pipe>" : outfname);
2782 } else if (!outfname || followfork < 2 || tcp_last == tcp) {
2788 if ((followfork == 1 || pflag_seen > 1) && outfname)
2790 else if (nprocs > 1 && !outfname)