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

Dmitry V. Levin ldv at altlinux.org
Thu Jul 11 14:19:25 UTC 2019


On Thu, Jul 11, 2019 at 03:07:46PM +0200, Paul Chaignon wrote:
> On Thu, Jul 11, 2019 at 03:25:13PM +0300, Dmitry V. Levin wrote:
> > On Sat, Jul 06, 2019 at 09:19:00AM +0200, Paul Chaignon wrote:
> > > Existing -z option prints only successful syscalls.  This patch adds a -Z
> > > option to print only failing syscalls.
> > > 
> > > * strace.c (init): Handle new -Z option.
> > > * syscall.c (syscall_exiting_trace): Ignore failed syscalls if
> > > failing_only is set.
> > > * defs.h (failing_only): Expose new variable.
> > > 
> > > Resolves https://github.com/strace/strace/issues/50.
> > 
> > This should be
> > Resolves: https://github.com/strace/strace/issues/50
> 
> Sure.  I'm guessing this is to allow some tool to recognize these
> references.  What tool is that?

It's a tradition rather than a specific tool.
For example, I use "git log --grep=^Resolves:" sometimes,
others might be doing something similar.


-- 
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/20190711/2c0ea6fc/attachment.bin>


More information about the Strace-devel mailing list