Selaa lähdekoodia

qcacmn: Add tracing in scheduler_post_msg_by_priority

Trace every msg, and print its src, and dest in
scheduler_post_msg_by_priority for ML logging

Print to F3, and trace it too

Change-Id: I64a2142bf3277e85e970132933f2157b95dad68d
CRs-Fixed: 2306043
gaurank kathpalia 6 vuotta sitten
vanhempi
sitoutus
5e652ebbb9
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      scheduler/src/scheduler_api.c

+ 1 - 0
scheduler/src/scheduler_api.c

@@ -272,6 +272,7 @@ QDF_STATUS scheduler_post_msg_by_priority(uint32_t qid,
 		/* change legacy WMA message id to new target_if mq id */
 		que_id = QDF_MODULE_ID_TARGET_IF;
 	}
+	qdf_mtrace(src_id, dest_id, msg->type, 0xFF, 0);
 
 	qidx = sched_ctx->queue_ctx.scheduler_msg_qid_to_qidx[que_id];
 	if (qidx >= SCHEDULER_NUMBER_OF_MSG_QUEUE) {