[PATCH] combining -c and regular output

Dmitry V. Levin ldv at altlinux.org
Thu Aug 13 20:56:12 UTC 2009


On Wed, Aug 12, 2009 at 11:11:53PM +0200, Adrien Kunysz wrote:
> As everybody and their dog tend to write Perl scripts to reimplement
> strace -c from regular strace output, I think it could be interesting to
> make strace able to print both regular output and statistics at the end.
> Attached is a patch adding option -C that does just that. Please
> consider it for inclusion.

Your patch introduces new variable (Cflag) which behaves similar to
already existing variable (cflag).  More simple approach would be to reuse
the cflag variable.

> Please CC me in reply as I am not registered to this list.

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

More information about the Strace-devel mailing list