diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-09-14 14:48:38 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-09-14 14:48:38 +0000 |
commit | 7c411bda5ba29eb8fb5be3841626a485c0d650cb (patch) | |
tree | 049b9b8b77421704c34c29ad0d9a940ff0025f4c /cpukit/libcsupport/src/malloc_report_statistics_plugin.c | |
parent | 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-7c411bda5ba29eb8fb5be3841626a485c0d650cb.tar.bz2 |
2009-09-14 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* score/src/wkspace.c: Removed work space area consistency checks.
* libblock/include/rtems/ide_part_table.h: Functions are now
deprecated.
* libcsupport/include/rtems/libcsupport.h, libcsupport/src/calloc.c,
libcsupport/src/malloc_boundary.c,
libcsupport/src/malloc_initialize.c,
libcsupport/src/malloc_report_statistics_plugin.c,
libcsupport/src/malloc_statistics_helpers.c,
libcsupport/src/malloc_walk.c, libcsupport/src/realloc.c,
rtems/inline/rtems/rtems/region.inl: Update for heap API changes.
2009-09-14 Christian Mauderer <christian.mauderer@embedded-brains.de>
* libcsupport/src/vprintk.c: Fixed warnings. Print nothing in case the
pointer to the string is NULL.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libcsupport/src/malloc_report_statistics_plugin.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/malloc_report_statistics_plugin.c b/cpukit/libcsupport/src/malloc_report_statistics_plugin.c index c89cc46da6..637587190a 100644 --- a/cpukit/libcsupport/src/malloc_report_statistics_plugin.c +++ b/cpukit/libcsupport/src/malloc_report_statistics_plugin.c @@ -25,7 +25,7 @@ void malloc_report_statistics_with_plugin( ) { rtems_malloc_statistics_t *s; - uint32_t allocated; + uintmax_t allocated; s = &rtems_malloc_statistics; @@ -48,9 +48,10 @@ void malloc_report_statistics_with_plugin( ); (*print)( context, - " Call counts: malloc:%"PRIu32" free:%"PRIu32 + " Call counts: malloc:%"PRIu32" memalign:%"PRIu32" free:%"PRIu32 " realloc:%"PRIu32" calloc:%"PRIu32"\n", s->malloc_calls, + s->memalign_calls, s->free_calls, s->realloc_calls, s->calloc_calls |