| #
d8fdff38 |
| 19-Jun-2025 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge changes from topic "map-summary" into integration
* changes: feat(memmap): add summary command to memory map script refactor(memmap)!: change behavioural flags to commands refactor(memma
Merge changes from topic "map-summary" into integration
* changes: feat(memmap): add summary command to memory map script refactor(memmap)!: change behavioural flags to commands refactor(memmap): fix typing-related issues refactor(memmap): create common image parser interface refactor(memmap): represent image symbols with key-value map refactor(memmap): factor memory regions into their own structure refactor(memmap): apply additional type hints refactor(memmap): check ELF object type rather than flag refactor(memmap): remove unused functionality fix(memmap): ensure terminal width is respected style(memmap): format with Ruff
show more ...
|
| #
a98d4661 |
| 16-Sep-2024 |
Jimmy Brisson <jimmy.brisson@arm.com> |
feat(memmap): add summary command to memory map script
This patch adds a `summary` command, invoked with:
poetry run memory summary <map-file>
This command is capable of producing a summary tabl
feat(memmap): add summary command to memory map script
This patch adds a `summary` command, invoked with:
poetry run memory summary <map-file>
This command is capable of producing a summary table, similar to the footprint command, or an HTML flame-graph representing the size of ELF image sections.
When specified with `-o` (`--old`), an old GNU map file is used as a past state and subtracted from the GNU map file specified by `<map-file>` to annotate printed information with additional size deltas.
Note that many bootloaders include alignment padding and will align to a page size. To exclude this alignment-padding from the summary, use the `-e` switch.
For example:
$ poetry run memory summary bl1.map -e -d 1 | Module | .text | .data | .bss | |-----------|--------------|----------|-----------| | bl1 | 32616(+24) | 2217(+0) | 11175(+0) | | lib | 55932(+2060) | 40(+0) | 10628(+0) | | Subtotals | 88548(+2084) | 2257(+0) | 21803(+0) | Total Static RAM memory (data + bss): 24060(+0) bytes Total Flash memory (text + data): 90805(+2084) bytes
Change-Id: Id0bc157d09e654f89730dfbe318fa5f820e9f18d Co-authored-by: Chris Kay <chris.kay@arm.com> Signed-off-by: Chris Kay <chris.kay@arm.com> Signed-off-by: Jimmy Brisson <jimmy.brisson@arm.com>
show more ...
|
| #
6acd79ab |
| 17-Apr-2025 |
Chris Kay <chris.kay@arm.com> |
refactor(memmap): fix typing-related issues
This change introduces Pyright - a static type checker for Python - and resolves a large number of the errors that it reports. Some errors have not been r
refactor(memmap): fix typing-related issues
This change introduces Pyright - a static type checker for Python - and resolves a large number of the errors that it reports. Some errors have not been resolved as they require larger refactors, so these will be done in later patches.
Change-Id: I2ed9b1cc729bf44a1fa8e69882af34657cc30b38 Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| #
1bed7707 |
| 01-Apr-2025 |
Chris Kay <chris.kay@arm.com> |
style(memmap): format with Ruff
This change adds the Python formatter and linter Ruff to the Poetry development dependencies for the memory map script, and formats the entire project using it.
Chan
style(memmap): format with Ruff
This change adds the Python formatter and linter Ruff to the Poetry development dependencies for the memory map script, and formats the entire project using it.
Change-Id: I7c5898bd8ee364e3b72476014ef6b4b11947ae18 Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| #
a1094e32 |
| 03-Mar-2025 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge "refactor(memmap): migrate to Poetry" into integration
|
| #
ed0c801f |
| 28-Jan-2025 |
Chris Kay <chris.kay@arm.com> |
refactor(memmap): migrate to Poetry
This change refactors the memmap tool into a Poetry project, with its own dependencies. You can continue to run it manually with:
poetry run memory <args>
C
refactor(memmap): migrate to Poetry
This change refactors the memmap tool into a Poetry project, with its own dependencies. You can continue to run it manually with:
poetry run memory <args>
Change-Id: I346283df1b8bfad4babc1f5a3861dab94d4a006a Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|