initcall_debug: add deferred probe times
authorTodd Poynor <toddpoynor@google.com>
Tue, 25 Jul 2017 23:31:59 +0000 (16:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Aug 2017 00:48:49 +0000 (17:48 -0700)
commit1f5000bd8afab0ceed58c67f673250b864e5a9c9
tree97453ce50ef72db30f080237cd6c77035d34adbe
parent1af824f085e813e06548212b18bbc788b16f60e6
initcall_debug: add deferred probe times

initcall_debug attributes all deferred device probe retries for the
late_initcall level to function deferred_probe_initcall.  Add logs of
the individual device probe routines called, to identify which drivers
are executing for how long during the initcall path.  Deferred probes
that occur after initcall processing are not shown.

Example log messages added:

[    0.505119] deferred probe my-sound-device @ 6
[    0.517656] deferred probe my-sound-device returned after 1227 usecs

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/dd.c