diff options
Diffstat (limited to 'patches/boot_time_opt/0107-bootstats-add-printk-s-to-measure-boot-time-in-more-.patch')
-rw-r--r-- | patches/boot_time_opt/0107-bootstats-add-printk-s-to-measure-boot-time-in-more-.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/patches/boot_time_opt/0107-bootstats-add-printk-s-to-measure-boot-time-in-more-.patch b/patches/boot_time_opt/0107-bootstats-add-printk-s-to-measure-boot-time-in-more-.patch new file mode 100644 index 0000000..9800aa7 --- /dev/null +++ b/patches/boot_time_opt/0107-bootstats-add-printk-s-to-measure-boot-time-in-more-.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
2 | From: Arjan van de Ven <arjan@linux.intel.com> | ||
3 | Date: Wed, 11 Feb 2015 16:05:23 -0600 | ||
4 | Subject: [PATCH] bootstats: add printk's to measure boot time in more detail | ||
5 | |||
6 | Few distro-tweaks to add printk's to visualize boot time better | ||
7 | |||
8 | Author: Arjan van de Ven <arjan@linux.intel.com> | ||
9 | |||
10 | Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com> | ||
11 | --- | ||
12 | arch/x86/kernel/alternative.c | 2 ++ | ||
13 | 1 file changed, 2 insertions(+) | ||
14 | |||
15 | diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c | ||
16 | index 2400ad62f330..899eb4b13696 100644 | ||
17 | --- a/arch/x86/kernel/alternative.c | ||
18 | +++ b/arch/x86/kernel/alternative.c | ||
19 | @@ -723,7 +723,9 @@ void __init alternative_instructions(void) | ||
20 | * patching. | ||
21 | */ | ||
22 | |||
23 | + printk("clr: Applying alternatives\n"); | ||
24 | apply_alternatives(__alt_instructions, __alt_instructions_end); | ||
25 | + printk("clr: Applying alternatives done\n"); | ||
26 | |||
27 | #ifdef CONFIG_SMP | ||
28 | /* Patch to UP if other cpus not imminent. */ | ||
29 | -- | ||
30 | https://clearlinux.org | ||
31 | |||