commit | 0cbed357ab749fa0cf58e8d72230c2ed92334932 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Wed Apr 04 22:22:01 2012 -0400 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Fri Apr 06 14:39:15 2012 +0000 |
tree | e2750c52d2d1555da6bed03c453c91261822a95e | |
parent | 7ff5ed932568a8049c3ca134da374f64c3e255ce [diff] |
Decode mtd ioctls 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. (EXTRA_DIST): Add linux/mtd-abi.h. * mtd.c: New file. * linux/mtd-abi.h: New file. Signed-off-by: Mike Frysinger <vapier@gentoo.org>