[PATCH v4 1/4] Option to print only failing syscalls

Dmitry V. Levin ldv at altlinux.org
Tue Jun 18 11:12:42 UTC 2019


On Tue, Jun 18, 2019 at 10:18:10AM +0000, Kohl, Burkhard wrote:
[...]
> I created 5 different trace files ("*.trc") with the prefix reflecting the respective
> combination of flags used, i.e.:
> 
>         ./strace -tfv -o nozorZ.trc /usr/bin/time -v sleep 1
>        ./strace -tfvzZ -o zZ.trc /usr/bin/time -v sleep 1
>        ./strace -tfvZz -o Zz.trc /usr/bin/time -v sleep 1
>        ...
> Line count clearly shows that the output of both -zZ/-Zz variants differ.

Thanks, this is indeed a bug: after the third patch -zZ effectively means
the same as -Z, and -Zz means the same as -z.

Paul, this happens because each qualify("status=set") invocation
re-initializes status_set.


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


More information about the Strace-devel mailing list