qcacmn: Reduce the QDF_GET_MEMORY_TIME_THRESHOLD to 300ms

qcacld-2.0 to qcacmn propagation

Issues are seen where memory allocation takes 300-1000ms.

So to detect this reduce the QDF_GET_MEMORY_TIME_THRESHOLD value
to print the time taken by kmalloc, to 300ms from 3 sec.

Change-Id: I0f7e1587b2ddd2839d70a19b047aa46bb6a2cea1
CRs-Fixed: 970017
This commit is contained in:
Abhishek Singh
2016-04-27 16:24:03 +05:30
committato da Gerrit - the friendly Code Review server
parent fd04653483
commit 0921144f1e

Vedi File

@@ -73,7 +73,7 @@ struct s_qdf_mem_struct {
#endif
/* Preprocessor Definitions and Constants */
#define QDF_GET_MEMORY_TIME_THRESHOLD 3000
#define QDF_GET_MEMORY_TIME_THRESHOLD 300
int qdf_dbg_mask;
qdf_declare_param(qdf_dbg_mask, int);