lkml.org 
[lkml]   [2008]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFC] USB: Add HCD fastboot
On 08-08-08 13:29, Simon Arlott wrote:

> I suggest adding initcall_debug=1, it'll show how long the usb and other
> initcalls take to run. You should see the first usb device driver initcall
> take a second or two to run (without the patch). Maybe I'm just badly
> affected by having HCDs with 10 ports (of which only 4 are physically
> usable...).
>
> dmesg|grep initcall\
> |sed -e 's/.*initcall \([^ ]\+\( \(\[[^]]\+\]\)\)\?\) returned [^ ]\+ after \([^ ]\+\) secs/\4 \1/'\
> |sort -n

Thanks, but that specific expression doesn't work work me,since there's
not a single one that takes ' secs', only ' msecs'.

Here's the USB related ones here:

> [ 1.198751] initcall ehci_hcd_init+0x0/0x11 returned 0 after 123 msecs
> [ 1.818688] initcall ohci_hcd_mod_init+0x0/0x31 returned 0 after 591 msecs
> [ 2.537756] initcall usb_stor_init+0x0/0x32 returned 0 after 685 msecs

[ ... ]

> [ 2.619477] initcall hid_init+0x0/0x3 returned 0 after 0 msecs
> [ 2.629667] initcall hid_init+0x0/0x3e returned 0 after 9 msecs

685 isn't nice but better then 2000...

Rene.



\
 
 \ /
  Last update: 2008-08-08 16:33    [W:0.851 / U:1.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site