diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-11-27 11:44:48 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-11-28 11:23:53 +0100 |
commit | 01557b0c6e723627427195bb33bdfe0b125c70b1 (patch) | |
tree | ecd3bdb408cecd25bf24c25adb51dafdddedbc3a /cpukit/libcsupport/src/malloc_initialize.c | |
parent | bdbuf: Fix race condition with sync active flag (diff) | |
download | rtems-01557b0c6e723627427195bb33bdfe0b125c70b1.tar.bz2 |
libcsupport: Delete malloc statistics
Use the heap handler statistics instead. Add heap walk option to MALLOC
shell command.
close #1367
Diffstat (limited to 'cpukit/libcsupport/src/malloc_initialize.c')
-rw-r--r-- | cpukit/libcsupport/src/malloc_initialize.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cpukit/libcsupport/src/malloc_initialize.c b/cpukit/libcsupport/src/malloc_initialize.c index 75dc574b28..60fe2d94e6 100644 --- a/cpukit/libcsupport/src/malloc_initialize.c +++ b/cpukit/libcsupport/src/malloc_initialize.c @@ -22,8 +22,6 @@ #include "malloc_p.h" #ifdef RTEMS_NEWLIB -rtems_malloc_statistics_t rtems_malloc_statistics; - void RTEMS_Malloc_Initialize( const Heap_Area *areas, size_t area_count, @@ -59,15 +57,6 @@ void RTEMS_Malloc_Initialize( ); } } - - /* - * If configured, initialize the statistics support - */ - if ( rtems_malloc_statistics_helpers != NULL ) { - (*rtems_malloc_statistics_helpers->initialize)(); - } - - MSBUMP( space_available, _Protected_heap_Get_size( heap ) ); } #else void RTEMS_Malloc_Initialize( |