• Alan Stern's avatar
    USB: limit usbfs snooping of URB contents · 0290cc9f
    Alan Stern authored
    The usbfs_snoop facility can be very useful for debugging problems
    involving usbfs.  However, it always prints out the entire contents of
    every URB.  When dealing with large quantities of data, this can be
    less than helpful.
    
    This patch ameliorates the situation by adding a module parameter to
    usbcore for controlling the maximum number of bytes to print when
    snooping an URB.  This makes debugging much easier.  For backward
    compatibility, the default value is set unreasonably high.
    Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    0290cc9f
kernel-parameters.txt 146 KB