mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
soc: qcom: boot_stats: Add display boot KPI
Add instrumentation for boot time measurement Change-Id: I161bf9f8bb1e9c517ea7a4a860fe6667347e82a3 Signed-off-by: Chetan C R <cchinnad@codeaurora.org>
This commit is contained in:
parent
5ecd48ae68
commit
61d8f5d550
@ -73,6 +73,8 @@ static void print_boot_stats(void)
|
||||
readl_relaxed(&boot_stats->bootloader_start));
|
||||
pr_info("KPI: Bootloader end count = %u\n",
|
||||
readl_relaxed(&boot_stats->bootloader_end));
|
||||
pr_info("KPI: Bootloader display count = %u\n",
|
||||
readl_relaxed(&boot_stats->bootloader_display));
|
||||
pr_info("KPI: Bootloader load kernel count = %u\n",
|
||||
readl_relaxed(&boot_stats->bootloader_load_kernel));
|
||||
pr_info("KPI: Kernel MPM timestamp = %u\n",
|
||||
|
@ -19,6 +19,7 @@ struct boot_stats {
|
||||
uint32_t bootloader_start;
|
||||
uint32_t bootloader_end;
|
||||
uint32_t kernel_entry;
|
||||
uint32_t bootloader_display;
|
||||
uint32_t bootloader_load_kernel;
|
||||
uint32_t load_kernel_start;
|
||||
uint32_t load_kernel_done;
|
||||
|
Loading…
x
Reference in New Issue
Block a user