Home | History | Annotate | Download | only in coregrind

Lines Matching refs:log_output_sink

322    set the fd of log_output_sink to -2 to indicate that output is
324 OutputSink VG_(log_output_sink) = { 2, VgLogTo_Fd, NULL }; /* 2 = stderr */
438 if (VG_(log_output_sink).type != VgLogTo_Socket) {
439 VG_(log_output_sink).fd = -1;
440 VG_(log_output_sink).type = VgLogTo_Fd;
448 &VG_(log_output_sink), False) ||
451 VG_(print_preamble)(VG_(log_output_sink).type != VgLogTo_File);
468 VG_(log_output_sink) in m_libcprint. Also, if --log-file=STR was
471 it, is stored in VG_(log_output_sink), just in case anybody wants to know
474 When printing, VG_(log_output_sink) is consulted to find the
486 /* Start setting up logging now. After this is done, VG_(log_output_sink)
492 vg_assert(VG_(log_output_sink).fd == 2 /* stderr */);
493 vg_assert(VG_(log_output_sink).type == VgLogTo_Fd);
494 vg_assert(VG_(log_output_sink).fsname_expanded == NULL);
508 &VG_(log_output_sink), False);
513 &VG_(log_output_sink), False);
550 finalize_sink_fd(&VG_(log_output_sink), log_fd, False);
554 VG_(log_output_sink).fd = -1;
555 VG_(log_output_sink).type = VgLogTo_Fd;
653 return vprintf_WRK( &VG_(log_output_sink), format, vargs );
685 } else if (VG_(log_output_sink).fd == -2) {
937 = { "", 0, True, Vg_UserMsg, &VG_(log_output_sink) };
1068 revert_sink_to_stderr(&VG_(log_output_sink));