From 0921144f1ea950317659c571f6bfb0b5b699cd77 Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Wed, 27 Apr 2016 16:24:03 +0530 Subject: [PATCH] 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 --- qdf/linux/src/qdf_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qdf/linux/src/qdf_mem.c b/qdf/linux/src/qdf_mem.c index 0270b5724eee..c9a88cb22d2c 100644 --- a/qdf/linux/src/qdf_mem.c +++ b/qdf/linux/src/qdf_mem.c @@ -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);