android_kernel_xiaomi_sm8350/init
Arjan van de Ven 59f9415ffb modules: extend initcall_debug functionality to the module loader
The kernel has this really nice facility where if you put "initcall_debug"
on the kernel commandline, it'll print which function it's going to
execute just before calling an initcall, and then after the call completes
it will

1) print if it had an error code

2) checks for a few simple bugs (like leaving irqs off)
and

3) print how long the init call took in milliseconds.

While trying to optimize the boot speed of my laptop, I have been loving
number 3 to figure out what to optimize...  ...  and then I wished that
the same thing was done for module loading.

This patch makes the module loader use this exact same functionality; it's
a logical extension in my view (since modules are just sort of late
binding initcalls anyway) and so far I've found it quite useful in finding
where things are too slow in my boot.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2008-08-12 17:52:54 +10:00
..
calibrate.c x86: remove stray <6> in BogoMIPS printk 2008-07-28 14:22:26 +02:00
do_mounts_initrd.c
do_mounts_md.c md: proper extern for mdp_major 2008-05-24 09:56:09 -07:00
do_mounts_rd.c inflate: refactor inflate malloc code 2008-07-25 10:53:28 -07:00
do_mounts.c make init/do_mounts.c:root_device_name static 2008-07-26 12:00:12 -07:00
do_mounts.h make init/do_mounts.c:root_device_name static 2008-07-26 12:00:12 -07:00
initramfs.c inflate: refactor inflate malloc code 2008-07-25 10:53:28 -07:00
Kconfig Kconfig: Extend "menuconfig" for modules to simplify Kconfig file 2008-08-06 22:14:04 +02:00
main.c modules: extend initcall_debug functionality to the module loader 2008-08-12 17:52:54 +10:00
Makefile
noinitramfs.c
version.c init/version.c: define version_string only if CONFIG_KALLSYMS is not defined 2008-07-25 10:53:29 -07:00