From 01557b0c6e723627427195bb33bdfe0b125c70b1 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 27 Nov 2014 11:44:48 +0100 Subject: libcsupport: Delete malloc statistics Use the heap handler statistics instead. Add heap walk option to MALLOC shell command. close #1367 --- cpukit/libcsupport/src/malloc.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'cpukit/libcsupport/src/malloc.c') 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; } -- cgit v1.2.3