qcacmn: Add event history logs for datapath

Add support to log the important events in
datapath, which will help in debugging the
datapath issues.

IRQ handler, Napi poll and srng access start/end
are the events which are currently logged.

CRs-Fixed: 2457854
Change-Id: Iba105b0e79443b670a01a929f999f94e00ea92f2
Cette révision appartient à :
Rakesh Pillai
2019-05-31 20:28:30 +05:30
révisé par nshrivas
Parent a833f30506
révision 2529ae1c8a
13 fichiers modifiés avec 362 ajouts et 66 suppressions

Voir le fichier

@@ -3327,7 +3327,7 @@ more_data:
/* Re-initialize local variables to be re-used */
head_desc = NULL;
tail_desc = NULL;
if (qdf_unlikely(hal_srng_access_start(soc->hal_soc, hal_srng))) {
if (qdf_unlikely(dp_srng_access_start(int_ctx, soc, hal_srng))) {
QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
"%s %d : HAL RING Access Failed -- %pK",
__func__, __LINE__, hal_srng);
@@ -3446,7 +3446,7 @@ more_data:
break;
}
hal_srng_access_end(soc->hal_soc, hal_srng);
dp_srng_access_end(int_ctx, soc, hal_srng);
/* Process the reaped descriptors */
if (head_desc)