le_build_config.h

Go to the documentation of this file.
1 
2 /**
3  * @page c_le_build_cfg Build Configuration
4  *
5  * In the file @c le_build_conifg.h are a number of preprocessor macros. Uncommenting these macros
6  * enables a non-standard feature of the framework.
7  *
8  * <HR>
9  *
10  * @section bld_cfg_mem_trace LE_MEM_TRACE
11  *
12  * When @c LE_MEM_TRACE is defined, the memory subsystem will create a trace point for every memory
13  * pool created. The name of the tracepoint will be the same of the pool, and is of the form
14  * "component.poolName".
15  *
16  * @section bld_cfg_mem_valgrind LE_MEM_VALGRIND
17  *
18  * When @c LE_MEM_VALGRIND is enabled the memory system doesn't use pools anymore but in fact
19  * switches to use malloc/free per-block. This way, tools like valgrind can be used on a Legato
20  * executable.
21  *
22  * <HR>
23  *
24  * Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.
25  */
26 
27 //--------------------------------------------------------------------------------------------------
28 /**
29  * @file le_build_config.h
30  *
31  * This file includes preprocessor macros that can be used to fine tune the Legato framework.
32  *
33  * Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.
34  */
35 //--------------------------------------------------------------------------------------------------
36 #ifndef LE_BUILD_CONFIG_H_INCLUDE_GUARD
37 #define LE_BUILD_CONFIG_H_INCLUDE_GUARD
38 
39 
40 
41 // Uncomment this define to enable memory tracing.
42 //#define LE_MEM_TRACE
43 
44 
45 
46 // Uncomment this define to enable valgrind style memory tracking.
47 //#define LE_MEM_VALGRIND
48 
49 
50 
51 #endif