On Tuesday 03 April 2012 19:11:32 Dmitry V. Levin wrote: > On Tue, Apr 03, 2012 at 02:24:33AM -0400, Mike Frysinger wrote: > > I got tired of figuring out mtd structures (which show up a lot > > in the embedded space), so add decoders for those ioctls. > > > > * defs.h (mtd_ioctl): New prototype. > > (print_loff_t): Likewise. > > * io.c (print_loff_t): Delete static keyword > > * ioctl.c (ioctl_decode): Call mtd_ioctl when code is 'M'. > > * Makefile.am (strace_SOURCES): Add mtd.c. > > * mtd.c: New file. > > I've got a system where it doesn't compile because mtd/mtd-user.h > is not installed there: > > mtd.c:30:26: fatal error: mtd/mtd-user.h: No such file or directory > > One may argue that the system must provide this file, but I'd rather > like to have a traditional workaround for such cases. ;)
should i just copy the header locally ? or add a mtd-user.h header check and disable the code if it's not found ? -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
