power:hibernate: KPI marker for Hibernation Success

Add KPI Marker for hibernation failure and success
needed for perf image.

Change-Id: I90a4e503c75ccb1d0edb3d26f7f8d5f08dafe95e
Signed-off-by: Atul Raut <araut@codeaurora.org>
This commit is contained in:
Atul Raut 2018-05-23 11:36:53 -07:00 committed by Gerrit - the friendly Code Review server
parent 2386158c7b
commit cdf56b7d01

View file

@ -30,6 +30,7 @@
#include <linux/genhd.h>
#include <linux/ktime.h>
#include <trace/events/power.h>
#include <soc/qcom/boot_stats.h>
#include "power.h"
@ -469,6 +470,7 @@ static int resume_target_kernel(bool platform_mode)
touch_softlockup_watchdog();
syscore_resume();
place_marker("PM: Image Restoration failed!");
Enable_irqs:
local_irq_enable();
@ -705,6 +707,7 @@ int hibernate(void)
pm_restore_gfp_mask();
} else {
pr_debug("PM: Image restored successfully.\n");
place_marker("PM: Image restored!");
}
Free_bitmaps: