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
_______________________________________________
Ltrace-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/ltrace-devel

Reply via email to