msm: camera: reqmgr: add trace log for separating multi camera

Based on link_hdl/sensor id, that can separate multi camera event
on reqmgr, apply request, bufdone, isp_active_irq.
Add log of link_hdl/sensor id in above trace event,
that systrace can show independent camera trace event.

CRs-Fixed: 2924042
Change-Id: I7088a8a489a05dae4e62dc131d1c0c45c72038e2
Signed-off-by: Haibin Liu <haibinl@codeaurora.org>
This commit is contained in:
Haibin Liu
2021-03-24 21:34:22 +08:00
parent 8a157daab6
commit 693c6dfdae
6 changed files with 35 additions and 21 deletions

View File

@@ -5850,7 +5850,7 @@ static int __cam_isp_ctx_apply_req(struct cam_context *ctx,
struct cam_isp_context *ctx_isp =
(struct cam_isp_context *) ctx->ctx_priv;
trace_cam_apply_req("ISP", apply->request_id);
trace_cam_apply_req("ISP", ctx->ctx_id, apply->request_id, apply->link_hdl);
CAM_DBG(CAM_ISP, "Enter: apply req in Substate[%s] request_id:%lld",
__cam_isp_ctx_substate_val_to_type(
ctx_isp->substate_activated), apply->request_id);