Searched refs:traceoutfile (Results 1 – 2 of 2) sorted by relevance
43 static int traceoutfile; variable100 if (traceoutfile && !tracing_stopped) in trace_record()138 if (traceoutfile) { in trace_begin()144 traceoutfile = open (filename, O_CREAT | O_WRONLY | O_EXCL, 0600); in trace_begin()145 if (traceoutfile < 0 && errno == EEXIST) { in trace_begin()147 traceoutfile = open (filename, O_WRONLY | O_EXCL | O_TRUNC, in trace_begin()151 if (traceoutfile < 0) { in trace_begin()157 if (fcntl (traceoutfile, F_SETFD, 1) < 0) in trace_begin()166 status = write (traceoutfile, &tfh, sizeof tfh); in trace_begin()225 if (!traceoutfile) { in trace_write_packet_iov()[all …]
310 char *traceoutfile = (char *)0; in main() local556 traceoutfile = argv [i]; in main()674 if (traceoutfile) { in main()675 result = trace_begin (traceoutfile, MDL); in main()