From: Nicholas Nethercote Date: Thu, 22 Jul 2004 08:57:50 +0000 (+0000) Subject: In response to bug #85665, clarify what --trace-children=yes does. X-Git-Tag: svn/VALGRIND_2_2_0~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2838e5fe1ac5d06bcc0894eb4be3151deee2a39;p=thirdparty%2Fvalgrind.git In response to bug #85665, clarify what --trace-children=yes does. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2521 --- diff --git a/coregrind/docs/coregrind_core.html b/coregrind/docs/coregrind_core.html index 13f121c535..614dd33f35 100644 --- a/coregrind/docs/coregrind_core.html +++ b/coregrind/docs/coregrind_core.html @@ -522,8 +522,14 @@ These options work with all tools.
  • --trace-children=no [default]
    --trace-children=yes

    When enabled, Valgrind will trace into child processes. This - is confusing and usually not what you want, so is disabled by + is confusing and often not what you want, so is disabled by default. + +

    Note that the name of this option is slightly misleading. + It actually controls whether programs started with + exec() are run under Valgrind's control. If your + program calls fork(), both the parent and the child + will run under Valgrind's control.


  • --log-fd=<number> [default: 2, stderr]