]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Don't bother printing "My PID" when logging to a file or socket, as that
authorNicholas Nethercote <njn@valgrind.org>
Thu, 30 Jul 2009 23:36:43 +0000 (23:36 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Thu, 30 Jul 2009 23:36:43 +0000 (23:36 +0000)
value is shown at the start of every output line.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10669

coregrind/m_main.c

index b6ef7ee4b680169da0d54b67efc54d2cd24fd85a..6e33e77a3b3dfa6aee37a0229b16d98d1d4a2a86 100644 (file)
@@ -1052,7 +1052,7 @@ static void print_preamble ( Bool logging_to_fd,
    }
 
    if (!VG_(clo_xml) && VG_(clo_verbosity) > 0 && !logging_to_fd) {
-      VG_(umsg)("My PID: %d, parent PID: %d\n", VG_(getpid)(), VG_(getppid)());
+      VG_(umsg)("Parent PID: %d\n", VG_(getppid)());
    }
    else
    if (VG_(clo_xml)) {