[Ltrace-devel] suppressing process creation output
Adam Dingle
adam at yorba.org
Fri Mar 18 12:23:30 UTC 2011
ltrace is an extremely useful tool!
I find that when I'm tracing a tree of child processes using the -f option,
the following type of output (which is printed unconditionally) becomes
distracting:
[pid 6494] --- Called exec() ---
[pid 6496] --- Called exec() ---
[pid 6496] +++ exited (status 0) +++
[pid 6495] --- SIGCHLD (Child exited) ---
[pid 6495] +++ exited (status 0) +++
[pid 6494] --- SIGCHLD (Child exited) ---
[pid 6494] --- Called exec() ---
[pid 6499] --- Called exec() ---
[pid 6500] +++ exited (status 0) +++
[pid 6499] +++ exited (status 0) +++
...
I'd like to propose that this ouput appear only when DEBUG_PROCESS is
enabled. Does this seem reasonable? If so I'd be happy to code up a simple
patch.
adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20110318/53906fa0/attachment.htm>
More information about the Ltrace-devel
mailing list