Lines Matching refs:log_file
334 static FILE *log_file = NULL;
335 if (log_file == NULL) {
336 log_file = popen(("gzip > " + G_flags->dump_events).c_str(), "w");
346 fprintf(log_file, "#PC %lx %s %s %s %d\n",
350 fprintf(log_file, "%s %x %lx %lx %lx\n", kEventNames[type], tid,
3623 FILE *socket_output = OpenSocketForWriting(G_flags->log_file);
3626 } else if (!G_flags->log_file.empty()) {
3628 string fname = G_flags->log_file;