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.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.c')
-rw-r--r-- | cpukit/libcsupport/src/malloc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cpukit/libcsupport/src/malloc.c b/cpukit/libcsupport/src/malloc.c index 4645fdbbcb..73203e5b1c 100644 --- a/cpukit/libcsupport/src/malloc.c +++ b/cpukit/libcsupport/src/malloc.c @@ -30,8 +30,6 @@ void *malloc( { void *return_this; - MSBUMP(malloc_calls, 1); - /* * If some free's have been deferred, then do them now. */ @@ -71,12 +69,6 @@ void *malloc( if ( rtems_malloc_dirty_helper ) (*rtems_malloc_dirty_helper)( return_this, size ); - /* - * If configured, update the statistics - */ - if ( rtems_malloc_statistics_helpers ) - (*rtems_malloc_statistics_helpers->at_malloc)(return_this); - return return_this; } |