summaryrefslogtreecommitdiffstats
path: root/patches/boot_time_opt/0107-bootstats-add-printk-s-to-measure-boot-time-in-more-.patch
diff options
context:
space:
mode:
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-.patch31
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 @@
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Arjan van de Ven <arjan@linux.intel.com>
3Date: Wed, 11 Feb 2015 16:05:23 -0600
4Subject: [PATCH] bootstats: add printk's to measure boot time in more detail
5
6Few distro-tweaks to add printk's to visualize boot time better
7
8Author: Arjan van de Ven <arjan@linux.intel.com>
9
10Signed-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
15diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
16index 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--
30https://clearlinux.org
31