QCamera3: Add more profile logs for Easel startup

These logs are disabled by default. Set
persist.camera.hdrplus.profiling to 1 to enable the logs.

Test: CGA
Change-Id: Id9e2ced3fc2cd8cbb1fd0ead800a692fea82213e
diff --git a/msm8998/QCamera2/HAL3/QCamera3HWI.cpp b/msm8998/QCamera2/HAL3/QCamera3HWI.cpp
index cc3a843..0fbd8f6 100644
--- a/msm8998/QCamera2/HAL3/QCamera3HWI.cpp
+++ b/msm8998/QCamera2/HAL3/QCamera3HWI.cpp
@@ -853,6 +853,7 @@
         return PERMISSION_DENIED;
     }
 
+    logEaselEvent("EASEL_STARTUP_LATENCY", "Camera Open");
     mPerfLockMgr.acquirePerfLock(PERF_LOCK_OPEN_CAMERA);
     LOGI("[KPI Perf]: E PROFILE_OPEN_CAMERA camera id %d",
              mCameraId);
@@ -4815,6 +4816,7 @@
     // For first capture request, send capture intent, and
     // stream on all streams
     if (mState == CONFIGURED) {
+        logEaselEvent("EASEL_STARTUP_LATENCY", "First request");
         // send an unconfigure to the backend so that the isp
         // resources are deallocated
         if (!mFirstConfiguration) {
@@ -5955,6 +5957,7 @@
                             pthread_mutex_unlock(&mMutex);
                             return rc;
                         }
+                        logEaselEvent("EASEL_STARTUP_LATENCY", "Starting MIPI done");
                     }
                 }
 
@@ -14641,6 +14644,7 @@
         return;
     }
 
+    logEaselEvent("EASEL_STARTUP_LATENCY", "HDR+ client opened.");
     ALOGI("%s: HDR+ client opened.", __FUNCTION__);
 
     Mutex::Autolock l(gHdrPlusClientLock);