Re: [PATCH] usbmon binary format reader loses synchronization

From: Ingo van Lil
Date: Fri Nov 14 2008 - 04:45:04 EST


Pete Zaitcev wrote:

When dumping USB data with "cat /dev/usbmon0 > usbmon.trace" while
reading from a USB storage device and analyzing the dump file
afterwards it will get out of sync after a couple of packets.

I think you nailed the problem. I only want shorter lines.
How about this:

Looks good to me, and works just fine.

Signed-off-by: Ingo van Lil <inguin@xxxxxx>

Regards,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/