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

Dmitry V. Levin ldv at altlinux.org
Fri May 17 23:11:37 UTC 2013


On Fri, May 17, 2013 at 10:13:46AM +0200, Denys Vlasenko wrote:
> 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.

What about exit status info?  The only way to suppress this kind
of messages before the patch was -c option.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20130518/ce58a4d9/attachment.bin>


More information about the Strace-devel mailing list