[PATCH v3] Print absolute paths in printpathn when -yy is used

2014-06-14 Thread zubin . mithra
From: Zubin Mithra * defs.h (show_fd_path): Change type to unsigned int. * strace.c (show_fd_path): Update usage to count y flag. * util.c (print_tracee_cwd): New function. (printpathn): Update to use print_tracee_cwd and print absolute path. * strace.1: Add description of -yy option Signed-off

Re: [PATCH v2] Print absolute paths in printpathn when -yy is used

2014-06-14 Thread Dmitry V. Levin
On Fri, Jun 13, 2014 at 01:22:30PM +0530, Zubin Mithra wrote: > > util.c: In function 'printpathn': > > util.c:595:4: error: implicit declaration of function 'print_tracee_cwd' > > [-Werror=implicit-function-declaration] > > > > Yes, I configure strace build using --enable-gcc-Werror, and I recomme

Re: [PATCH v2] v4l2.c: a new (incomplete) decoder for Video4Linux ioctls args

2014-06-14 Thread Dmitry V. Levin
On Tue, Jun 03, 2014 at 11:29:42AM +0200, Philippe De Muyter wrote: > --- /dev/null > +++ b/v4l2.c [...] > +#ifdef linux Starting with strace v4.7 it is always linux. [...] > +#include "xlat/v4l2_device_capabilities_flags.h" > + > +#include "xlat/v4l2_buf_types.h" > + > +#include "xlat/v4l2_buf_f