| 1e6f2ea0 | 27-Jun-2018 |
Jerome Forissier <jerome.forissier@linaro.org> |
scripts/symbolize.py: remove spurious output '(out/arm/core/tee.elf)'
When a TA dump is processed, there is a list of ELF files just before the call stack. However, when analyzing a TEE core dump, t
scripts/symbolize.py: remove spurious output '(out/arm/core/tee.elf)'
When a TA dump is processed, there is a list of ELF files just before the call stack. However, when analyzing a TEE core dump, there is no such list. Make sure this situation is properly handled to avoid displaying a spurious message. This means fixing incorrect indentation in a conditional.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 0c5bedb5 | 15-Feb-2018 |
Jerome Forissier <jerome.forissier@linaro.org> |
scripts/symbolize.py: update help text
Commit 546291f4de9b ("trace: make output more compact") has changed the format of the abort and panic dumps. Update 'symbolize.py --help' accordingly.
The hel
scripts/symbolize.py: update help text
Commit 546291f4de9b ("trace: make output more compact") has changed the format of the abort and panic dumps. Update 'symbolize.py --help' accordingly.
The help text is also reworked slightly to make it clear that the script may be used with all kinds of crash dumps (TEE core or TA, aborts and panics).
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| edbeddc1 | 21-Nov-2017 |
Jerome Forissier <jerome.forissier@linaro.org> |
mem_usage.py: fix error with ccache
Fix the following error:
make mem_usage CROSS_COMPILE="ccache arm-linux-gnueabihf-" ... GEN out/arm-plat-vexpress/core/tee.mem_usage Traceback (most recent
mem_usage.py: fix error with ccache
Fix the following error:
make mem_usage CROSS_COMPILE="ccache arm-linux-gnueabihf-" ... GEN out/arm-plat-vexpress/core/tee.mem_usage Traceback (most recent call last): File "./scripts/mem_usage.py", line 162, in <module> main() File "./scripts/mem_usage.py", line 94, in main universal_newlines=True) File "/usr/lib/python3.5/subprocess.py", line 947, in __init__ restore_signals, start_new_session) File "/usr/lib/python3.5/subprocess.py", line 1551, in _execute_child raise child_exception_type(errno_num, err_msg) FileNotFoundError: [Errno 2] No such file or directory: 'ccache arm-linux-gnueabihf-readelf' core/arch/arm/kernel/link.mk:255: recipe for target 'out/arm-plat-vexpress/core/tee.mem_usage' failed make: *** [out/arm-plat-vexpress/core/tee.mem_usage] Error 1
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 3be7773f | 09-Nov-2017 |
Jerome Forissier <jerome.forissier@linaro.org> |
Add pager options to mem_usage.py
Adds options to report the size of the init, paged and unpaged areas in pager builds (CFG_WITH_PAGER=y). This is helpful to monitor the evolution of the code size,
Add pager options to mem_usage.py
Adds options to report the size of the init, paged and unpaged areas in pager builds (CFG_WITH_PAGER=y). This is helpful to monitor the evolution of the code size, and identify issues such as when useless functions get pulled into the unpaged area by mistake. For instance, here is what we can get with 'mem_usage.py -nUr' and a few lines of script (shows changes in the size of unpaged code and data for a non-debug qemu_virt build since 2.5.0):
2.5.0 67600 2.5.0-2-g0b8e6e78 67632 +32 core: abort: fix get_fault_type() 2.5.0-11-g87d96185 67728 +96 core: pager: avoid page faults with pager lock held 2.5.0-37-g0073c9a8 67792 +64 core: pager: optimize tee_pager_handle_fault() 2.5.0-40-g935ac3ec 67888 +96 core: arm32: handle aborts in system mode 2.5.0-53-g2e4e94bf 67920 +32 core: default enable program flow prediction on ARMv7 cores 2.5.0-57-ge84e1fec 67704 -216 core: clean and unwind arm32_aeabi_[l]divmod_a32.S 2.5.0-63-g23346f16 67736 +32 Add support for several user TA stores 2.5.0-76-gb2087a20 67608 -128 core: pager: deal with large CFG_TEE_RAM_VA_SIZE 2.5.0-77-g00aa47a4 67688 +80 core: plat-vexpress: increase CFG_TEE_RAM_VA_SIZE 2.5.0-112-g86e50a60 67696 +8 core: arm: psci: add suspend resume common functions 2.5.0-120-g13b3ee90 67768 +72 core: print rwx flags for each MMU region when a user TA aborts 2.5.0-122-ge61644fb 83408 +15640 core: make reset_secondary() unpaged 2.5.0-123-g1506eb6f 83424 +16 core: plat-vexpress: init gic on secondary cores 2.5.0-124-ge2b68c87 91368 +7944 core: plat-vextpress-qemu_virt: update num cores 2.5.0-126-g5402a9fe 92808 +1440 qemu_virt: enable smp boot 2.5.0-132-gda51216b 92840 +32 dts: pass PA of reserved region 2.5.0-173-gb4121bfb 92848 +8 pl011: prevent putc() and flush() function from blocking indefinitely 2.5.0-176-g55d6853c 92912 +64 core: add registered shared memory support 2.5.0-182-g93d3c451 163936 +71024 core: pager: ltc: prng: add entropy to the AE key for paged TAs 2.5.0-202-ga71af55e 163984 +48 core: mobj: add mobj_get_phys_offs() 2.5.0-203-g5c7a19bb 163968 -16 core: mobj: remove double physical offset 2.5.0-205-g430dcbd8 163944 -24 core: reimplement mobj_mapped_shm_alloc() 2.5.0-208-gbbed97b6 163976 +32 core:mmu: fix userland va2pa conversion 2.5.0-209-g42d91b4b 164040 +64 core:mmu: fix userland pa2va conversion 2.6.0-rc1-1-gb6449075 164136 +96 thread.c: free rpc arg mobj during cache disabling 2.6.0-7-g8473540d 77144 -86992 Keep assembly functions in separate sections 2.6.0-8-g64113fca 77112 -32 core: arm32: replace _start with reset() function 2.6.0-9-g486754e8 77176 +64 core: arm32: reset_secondary() set reset vector
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Volodymyr Babchuk <vlad.babchuk@gmail.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|