From c9ab2aa2d5e28c6a50cfd9e194c5bd54f0487077 Mon Sep 17 00:00:00 2001 From: Sitong Chen Date: Tue, 4 Jan 2022 09:54:06 +0800 Subject: [PATCH] kernel: add place_marker for sound card register Add place_marker to monitor and record key events and measure the duration Change-Id: I1a96ffff283f61fcdddffdfa9f0f0132091b9fd8 Signed-off-by: Sitong Chen --- asoc/gvm_auto_spf_dummy.c | 4 ++++ 1 file changed, 4 insertions(+) mode change 100644 => 100755 asoc/gvm_auto_spf_dummy.c diff --git a/asoc/gvm_auto_spf_dummy.c b/asoc/gvm_auto_spf_dummy.c old mode 100644 new mode 100755 index 7905edfa1462..9d7cb0752597 --- a/asoc/gvm_auto_spf_dummy.c +++ b/asoc/gvm_auto_spf_dummy.c @@ -1,4 +1,5 @@ /* Copyright (c) 2014-2021, The Linux Foundation. All rights reserved. + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -31,6 +32,7 @@ #include "msm_dailink.h" #include #include +#include #define DRV_NAME "spf-asoc-snd" @@ -908,6 +910,8 @@ static int msm_asoc_machine_probe(struct platform_device *pdev) } dev_info(&pdev->dev, "Sound card %s registered\n", card->name); pr_err("Sound card %s registered\n", card->name); + place_marker("M - sound card init complete"); + spdev = pdev; subsys_notif_register_notifier("adsp", &auto_spf_dummy_ssr_notifier);