Implement boot time analysis framework.
This commit is contained in:
parent
e5a2dd7b55
commit
e744219bb6
14 changed files with 232 additions and 8 deletions
|
@ -151,6 +151,8 @@ grub_usbms_attach (grub_usb_device_t usbdev, int configno, int interfno)
|
|||
unsigned curnum;
|
||||
grub_usb_err_t err = GRUB_ERR_NONE;
|
||||
|
||||
grub_boot_time ("Attaching USB mass storage");
|
||||
|
||||
if (first_available_slot == ARRAY_SIZE (grub_usbms_devices))
|
||||
return 0;
|
||||
|
||||
|
@ -246,6 +248,8 @@ grub_usbms_attach (grub_usb_device_t usbdev, int configno, int interfno)
|
|||
|
||||
usbdev->config[configno].interf[interfno].detach_hook = grub_usbms_detach;
|
||||
|
||||
grub_boot_time ("Attached USB mass storage");
|
||||
|
||||
#if 0 /* All this part should be probably deleted.
|
||||
* This make trouble on some devices if they are not in
|
||||
* Phase Error state - and there they should be not in such state...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue