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:
Chetan C R 2020-03-06 19:04:33 +05:30 committed by Gerrit - the friendly Code Review server
parent 5ecd48ae68
commit 61d8f5d550
2 changed files with 3 additions and 0 deletions

View File

@ -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",

View File

@ -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;