Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fddde64f authored by Yajun Li's avatar Yajun Li
Browse files

soc: hab: add bootmarker for hab driver



To measure the boot kpi of hab driver,so add
bootmarker in hab_init function

Change-Id: Ib755e77e7a6768d028279331c4bf3e92c10141a4
Signed-off-by: default avatarYajun Li <yajunl@codeaurora.org>
parent 727593cb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1315,6 +1315,8 @@ static int __init hab_init(void)
	int result;
	dev_t dev;

	place_marker("M - HAB INIT Start");

	result = alloc_chrdev_region(&hab_driver.major, 0, 1, "hab");

	if (result < 0) {
@@ -1372,6 +1374,8 @@ static int __init hab_init(void)

	hab_stat_init(&hab_driver);

	place_marker("M - HAB INIT End");

	return result;

err:
+1 −0
Original line number Diff line number Diff line
@@ -45,6 +45,7 @@
#include <linux/reboot.h>
#include <linux/kobject.h>
#include <linux/sysfs.h>
#include <soc/qcom/boot_stats.h>

enum hab_payload_type {
	HAB_PAYLOAD_TYPE_MSG = 0x0,