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

Commit e89a5fe3 authored by Arun Prakash's avatar Arun Prakash
Browse files

diag: Add diag boot KPI



Add diag boot KPI on kpi_values sysnod.

Change-Id: I2e511d5d194acc714d9a0921720e3913880de4e0
Signed-off-by: default avatarArun Prakash <app@codeaurora.org>
parent 277fd220
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@
#include "diag_mux.h"
#include "diagmem.h"
#include "diag_ipc_logging.h"
#include <soc/qcom/boot_stats.h>

#define DIAG_USB_STRING_SZ	10
#define DIAG_USB_MAX_SIZE	16384
@@ -419,6 +420,7 @@ static void diag_usb_notifier(void *priv, unsigned int event,
	case USB_DIAG_CONNECT:
		pr_info("diag: USB channel %s: Received Connect event\n",
			usb_info->name);
		place_marker("M - Diag port is enumerated");
		spin_lock_irqsave(&usb_info->event_lock, flags);
		diag_usb_event_add(usb_info, USB_DIAG_CONNECT);
		spin_unlock_irqrestore(&usb_info->event_lock, flags);