Re: devio.c in 2.6.32.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 15 Jan 2010, Chris Frey wrote:

> On Fri, Jan 15, 2010 at 10:03:35AM -0500, Alan Stern wrote:
> > On Fri, 15 Jan 2010, Chris Frey wrote:
> > > Instead of ripping out data logging altogether, why not just limit
> > > the size to the actual length, and eliminate some of the duplicated
> > > logging?
> > 
> > Because logging is already available from the binary usbmon interface.
> 
> Using that reasoning, why not remove usbfs_snoop altogether?

Because it reports information not available any other way, namely, the 
sequence of usbfs ioctl calls.  (The last time I looked, strace did not 
interpret usbfs's ioctl codes.)

> usbfs_snoop was useful, and worked, even though it may have duplicated
> a feature elsewhere.  Now, it is only half as useful.  I consider that
> broken, and would like to restore it, at least as far as "actual_length"
> functionality.  I agree that it was too verbose before.

If you want to see the transferred data, why don't you use usbmon 
instead of usbfs_snoop?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux