Re: [Discuss] [PATCH] Export URB statistics for powertop.
Arjan van de Ven <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Sarah Sharp wrote: > powertop currently tracks interrupts generated by uhci and ehci, > but it has no way of telling which USB device to blame interrupts on. > This patch exports the number of URBs that complete for a given device. > Cat the file 'urbnum' in /sys/bus/usb/devices/.../ fwiw I just added support for this to the PowerTOP version in subversion for those who want to play with this.. it's really nice :) (I won't release a version of PowerTOP with this in of course until the kernel interface is approved) it looks like this: Wakeups-from-idle per second : 187.8 interval: 15.0s Top causes for wakeups: 39.6% (120.5) USB device 3-1 : BCM92035DGROM (Broadcom) 34.2% (100.0) <interrupt> : yenta, uhci_hcd:usb3 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel