summaryrefslogtreecommitdiff
path: root/lib/libutils/isoc/bget_malloc.c
diff options
context:
space:
mode:
authorPascal Brand <pascal.brand.com>2015-03-30 17:00:33 +0200
committerPascal Brand <pascal.brand@st.com>2015-12-21 18:13:35 +0100
commitf6d80bd681bc01788c6835d36582865a4d2f3ca2 (patch)
treeda61faaa432548f81072d0a9c1c8ac15d816fdfd /lib/libutils/isoc/bget_malloc.c
parent4718d4b8e16cc5e0efec3cc218a22da0c68585c0 (diff)
Stats on allocation
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne CARRIERE <etienne.carriere@st.com> Tested-by: Etienne CARRIERE <etienne.carriere@st.com> Reviewed-by: Pascal BRAND <pascal.brand@st.com> Signed-off-by: Pascal Brand <pascal.brand@st.com>
Diffstat (limited to 'lib/libutils/isoc/bget_malloc.c')
-rw-r--r--lib/libutils/isoc/bget_malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libutils/isoc/bget_malloc.c b/lib/libutils/isoc/bget_malloc.c
index 433a3bb9..168cf729 100644
--- a/lib/libutils/isoc/bget_malloc.c
+++ b/lib/libutils/isoc/bget_malloc.c
@@ -89,7 +89,7 @@
#define FreeWipe 1
#endif
-#if defined(CFG_TEE_CORE_DEBUG) && CFG_TEE_CORE_DEBUG != 0
+#ifdef CFG_WITH_STATS
#define BufStats 1
#endif