diff options
| author | Pete Zaitcev <[email protected]> | 2010-11-16 21:51:19 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2010-11-30 16:44:54 -0800 |
| commit | b17ea167c5fb50dcd5dce5b874a467f04eec886d (patch) | |
| tree | 5a4714f6612e52e051d9b4495b3150466b3d3499 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 4f6838436915fdc281173bfd5bef6d8ab5cb1a7f (diff) | |
usbmon: correct length for isochronous
Usually the usbmon returns the amount of data specified in
urb->transfer_buffer_length for output submissions and urb->actual_length
for input callbacks. However, for Isochronous input transfers, this is
not enough, since the returned data buffer may contain "holes".
One easy way to fix this is to use urb->transfer_buffer_length,
but this often transfers a whole lot of unused data, so we find
how much was actually used instead.
Original patch by Márton Németh. See also kernel bug 22182.
Signed-off-by: Pete Zaitcev <[email protected]>
Signed-off-by: Márton Németh <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions