Static memory footprint analysis
Ingolf Steinbach
ingolf.steinbach at googlemail.com
Mon Mar 9 14:02:39 UTC 2009
Hi,
is it possible to calculate the memory footprint of an RTEMS/sparc
application (which does NOT use dynamic memory allocation like
malloc()) by just analyzing the ELF file? Something like:
% sparc-rtems-objdump --headers application.exe |
sum_size_column_for_ALLOC_sections
% sparc-rtems-gdb application.exe
(gdb) print Configuration.work_space_size
and then add the outputs. Which memory consuming components are not
covered by this (i.e. is there more than ALLOC sections and RTEMS
workspace)?
(RTEMS-4.6.5 solution preferred)
Kind regards
Ingolf
More information about the users
mailing list