In the file le_build_conifg.h
are a number of preprocessor macros. Uncommenting these macros enables a non-standard feature of the framework.
When LE_MEM_TRACE
is defined, the memory subsystem will create a trace point for every memory pool created. The name of the tracepoint will be the same of the pool, and is of the form "component.poolName".
When LE_MEM_VALGRIND
is enabled the memory system doesn't use pools anymore but in fact switches to use malloc/free per-block. This way, tools like valgrind can be used on a Legato executable.
Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.