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

2014-06-02 Thread Dmitry V. Levin
On Mon, Jun 02, 2014 at 05:08:55PM +0200, Philippe De Muyter wrote: > On Sat, May 31, 2014 at 04:51:24AM +0400, Dmitry V. Levin wrote: > > On Fri, May 30, 2014 at 11:44:41AM +0200, Philippe De Muyter wrote: > > > * v4l2.c: new file. > > > * ioctl.c, defs.h, Makefile.am: hook v4l2.o:v4l2_ioctl into

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

2014-06-02 Thread Zubin Mithra
> > linux:~/strace-code # autoreconf -i > automake: error: cannot open < xlat/Makemodule.am: No such file or directory > autoreconf: automake failed with exit status: 1 > I tried running "build_static_example.sh" first and it worked. Im on a 64 bit machine and I also had to set up a symlink to gcc

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

2014-06-02 Thread Philippe De Muyter
On Sat, May 31, 2014 at 04:51:24AM +0400, Dmitry V. Levin wrote: > On Fri, May 30, 2014 at 11:44:41AM +0200, Philippe De Muyter wrote: > > * v4l2.c: new file. > > * ioctl.c, defs.h, Makefile.am: hook v4l2.o:v4l2_ioctl into strace. > > * NEWS: spread the news :) > > I've just pushed pending xlat ch

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

2014-05-30 Thread Dmitry V. Levin
On Fri, May 30, 2014 at 11:44:41AM +0200, Philippe De Muyter wrote: > * v4l2.c: new file. > * ioctl.c, defs.h, Makefile.am: hook v4l2.o:v4l2_ioctl into strace. > * NEWS: spread the news :) I've just pushed pending xlat changes to master branch. You can convert your code to the new form, e.g. using

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

2014-05-30 Thread Philippe De Muyter
* v4l2.c: new file. * ioctl.c, defs.h, Makefile.am: hook v4l2.o:v4l2_ioctl into strace. * NEWS: spread the news :) Introduce v4l2.c, a decoder for a subset of the v4l2 ioctl's args. This is a combination of - previous work by Peter Zotov , found at https://gist.githubusercontent.com/whitequark/