From 4a8efff23347b9b777f306a31b50cdb2e98a593e Mon Sep 17 00:00:00 2001 From: Amit Mehta Date: Wed, 4 Aug 2021 17:15:45 +0530 Subject: [PATCH] qcacmn: Change logging time-stamp source Currently there is mismatch in time-stamp source for hif_hist_skip_event_record with respect to hif_hist_record_event Updating time-stamp source in hif_hist_record_event to match with hif_hist_skip_event_record time-stamp source. Change-Id: I55680c40860eafb5c6ed6117ab7c55bb38cc24bb CRs-Fixed: 3000319 --- hif/src/hif_exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hif/src/hif_exec.c b/hif/src/hif_exec.c index ad0f200525cb..76a4e0a9382e 100644 --- a/hif/src/hif_exec.c +++ b/hif/src/hif_exec.c @@ -96,7 +96,7 @@ hif_hist_skip_event_record(struct hif_event_history *hist_ev, HIF_EVENT_HIST_MAX)) { last_irq_rec = &hist_ev->event[hist_ev->misc.last_irq_index]; - last_irq_rec->timestamp = qdf_get_log_timestamp(); + last_irq_rec->timestamp = hif_get_log_timestamp(); last_irq_rec->cpu_id = qdf_get_cpu(); last_irq_rec->hp++; last_irq_rec->tp = last_irq_rec->timestamp - @@ -106,7 +106,7 @@ hif_hist_skip_event_record(struct hif_event_history *hist_ev, break; case HIF_EVENT_BH_SCHED: if (rec->type == HIF_EVENT_BH_SCHED) { - rec->timestamp = qdf_get_log_timestamp(); + rec->timestamp = hif_get_log_timestamp(); rec->cpu_id = qdf_get_cpu(); return true; }