Searched hist:"5 e70edb125982e0490220db7516a9986b9fd1d07" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/scripts/ |
| H A D | mem_usage.py | 5e70edb125982e0490220db7516a9986b9fd1d07 Tue May 18 18:32:45 UTC 2021 Jerome Forissier <jerome@forissier.org> mem_usage.py: consider all allocatable sections
All allocatable sections end up using memory when the TEE binary is loaded. Therefore the 'A' (allocatable) flag in the readelf output is all that matters when gathering memory usage data using mem_usage.py. The combinations that are currently hardcoded in the script ('AX', 'WA', 'A', 'AL') are fragile and need to be replaced. For example, with COMPILER=clang many sections have the 'W' flag set.
Signed-off-by: Jerome Forissier <jerome@forissier.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
|