diff options
author | Alan Stern <[email protected]> | 2015-11-20 13:53:22 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2015-12-01 10:44:19 -0800 |
commit | 0290cc9f044a4d24d9a64e81761ac84498dc9d73 (patch) | |
tree | 5b6692337e2312a7c561e89829ac9d09aefea015 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 31ade3b83e1821da5fbb2f11b5b3d4ab2ec39db8 (diff) |
USB: limit usbfs snooping of URB contents
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: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions