[PATCH v2] Allow -q to be repeated for very quiet output

Denys Vlasenko dvlasenk at redhat.com
Fri May 17 08:13:46 UTC 2013


On 05/13/2013 12:30 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Even with the -q flag specified, tracing output is still mixed
> with messages about signals and process exit status, which is
> often irrelevant. Allow the -q flag to be repeated to force
> the suppression of signals / exit status info too.

I would say that this is a bit arbitrary to think
that signals are "not relevant". In many cases,
they are!

The suppression done by -q was suppressing messages about
what _strace_ does, those messages had nothing to do with
_what happens to the traced process_.

Your new addition suppressed signal delivery log messages,
and that is something which _does happen to the process_
being traced.

Also, your addition is unnecessary because "-e signal=!all"
does the same thing.

-- 
vda





More information about the Strace-devel mailing list