FW: [PATCH v1] Implement output staging for failed/successful syscalls

Dmitry V. Levin ldv at altlinux.org
Thu Jun 8 23:10:00 UTC 2017


On Thu, Jun 08, 2017 at 03:42:17PM +0000, Kohl, Burkhard wrote:
> 
> 
> -----Original Message-----
> From: Kohl, Burkhard 
> Sent: Thursday, June 8, 2017 13:02
> To: strace-devel at lists.sourceforge.net
> Cc: Kohl, Burkhard <burkhard.kohl at intel.com>
> Subject: [PATCH v1] Implement output staging for failed/successful syscalls
> 
> With flags not_failing_only/failing_only, syscall output is written to tcp->memf and either dropped or published at strace_syscall_exiting
> 
> * stage_out.c strace_openmemstream(), drop_staged_out(),
>               publish_staged_out().
> * defs.h      added flags stage_out, failing only
>               struct tcb: new members memf, memfptr, memfloc.
> * syscall.c   print output depending on flags and outcome.
> * strace.c    add options -z/-Z +help
>               modified tvprintf(), tprints(), newoutf()
>               set stage_output flag in main().
> * Makefile.am new: stage_out.c
> * configure.ac (AC_CHECK_FUNCS): open_memstream
> * strace.1    -z/-Z: description added

"git am" failed to apply this patch with the following diagnostics:
fatal: corrupt patch at line 208

It's annoying that every time this change is submitted,
it either does not apply at all or is so badly formatted.


-- 
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/20170609/e071cdc4/attachment.bin>


More information about the Strace-devel mailing list