Home | History | Annotate | Download | only in strace

Lines Matching full:outfname

119 static char *outfname = NULL;
364 if (outfname && followfork > 1) {
368 sprintf(name, "%.512s.%u", outfname, tcp->pid);
873 outfname = strdup(optarg);
978 if (outfname) {
980 if (outfname[0] == '|' || outfname[0] == '!') {
982 * We can't do the <outfname>.PID funny business
992 if ((outf = strace_popen(outfname + 1)) == NULL)
996 (outf = strace_fopen(outfname, "w")) == NULL)
1000 if (!outfname || outfname[0] == '|' || outfname[0] == '!')
1002 if (outfname && optind < argc) {
1008 optind < argc pflag_seen outfname interactive
1537 if (outfname && followfork > 1 && tcp->outf)
1801 (!outfname || followfork < 2 || tcp_last == tcp)) {
2764 perror(outfname == NULL
2765 ? "<writing to pipe>" : outfname);
2785 } else if (!outfname || followfork < 2 || tcp_last == tcp) {
2791 if ((followfork == 1 || pflag_seen > 1) && outfname)
2793 else if (nprocs > 1 && !outfname)