Lines Matching refs:logfile
5 extern FILE *logfile;
19 #define qemu_log_enabled() (logfile != NULL)
35 if (logfile) \
36 fprintf(logfile, ## __VA_ARGS__); \
46 if (logfile) \
47 vfprintf(logfile, fmt, va); \
61 fprintf(logfile, ## __VA_ARGS__); \
77 #define log_cpu_state(env, f) cpu_dump_state((env), logfile, fprintf, (f));
85 /* disas() and target_disas() to logfile: */
87 target_disas(logfile, (start), (len), (flags))
89 disas(logfile, (start), (len))
92 #define log_page_dump() page_dump(logfile)
100 #define qemu_log_flush() fflush(logfile)
108 fclose(logfile); \
109 logfile = NULL; \
118 logfile = (f); \
127 if (!logfile) \
128 logfile = (f); \