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

Paul Chaignon paul.chaignon at gmail.com
Thu Jul 11 15:18:07 UTC 2019


On Thu, Jul 11, 2019 at 05:19:25PM +0300, Dmitry V. Levin wrote:
> 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.

Ok, makes sense.

Paul


More information about the Strace-devel mailing list