diff options
author | Sarah Sharp <sarah.a.sharp@intel.com> | 2007-10-03 23:56:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 23:55:30 +0200 |
commit | 4d59d8a11383ebf0e0260ee481a4e766959fd7d9 (patch) | |
tree | 240cf81cc56896a69c1467b7c8bc4f3f4022c3fd /drivers/usb/gadget/fsl_usb2_udc.c | |
parent | USB: serial gadget: Disable endpoints on unload (diff) | |
download | linux-4d59d8a11383ebf0e0260ee481a4e766959fd7d9.tar.xz linux-4d59d8a11383ebf0e0260ee481a4e766959fd7d9.zip |
USB: Export URB statistics for powertop
powertop currently tracks interrupts generated by uhci, ehci, and ohci,
but it has no way of telling which USB device to blame USB bus activity on.
This patch exports the number of URBs that are submitted for a given device.
Cat the file 'urbnum' in /sys/bus/usb/devices/.../
Signed-off-by: Sarah Sharp <sarah.a.sharp@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/fsl_usb2_udc.c')
0 files changed, 0 insertions, 0 deletions