[strace-4.15] Proposal: Output Staging for -z Option (print successful syscalls only) / Patch included

Kohl, Burkhard burkhard.kohl at intel.com
Wed Jan 18 17:29:19 UTC 2017


Hi

>Thanks.  As strace is developed in git, please rebase your changes to HEAD of strace.git; also please ensure that your patch does not contain irrelevant changes, e.g. changes of indentation.  See also https://sourceforge.net/p/strace/wiki/Guide%20for%20new%20contributors/

Thanks for the pointer. Did run git send-email, see  "[PATCH v2] Implement output staging for failed/successful syscalls".
 
>> Note 1: Since the syserror macro (defined in defs.h) does not distinguish between failed and not-returned, the "exit_group()" syscall will be filtered as well with -z.
>Is it the desired behavior or known deficiency of new -z option?

Rather a deficiency - to avoid it, either syserror() macro needs to recognize specific u_error values for "not-returned" or the field should be initialized to 0.

--
Burkhard


Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928





More information about the Strace-devel mailing list