zephyr/tests/misc/check_init_priorities
Fabio Baltieri 5212a4c619 scripts: check_init_priorities: use the Zephyr executable file
Rework check_init_priorities to use the main executable file instead of
the individual object files for discovering the devices.

This should make the script more robust in case of stale files in the
build directory, and also makes it work with LTO object files.

Additionally, keep track of the detected init calls, and add a handy
"-i" option to produce a human readable print of the initcalls in the
call sequence, which can be useful for debugging initialization problems
due to odd SYS_INIT and DEVICE interactions.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-09-20 20:24:46 +01:00
..
boards
src
CMakeLists.txt scripts: check_init_priorities: use the Zephyr executable file 2023-09-20 20:24:46 +01:00
prj.conf Kconfig.zephyr: check priorities by default 2023-08-24 15:35:37 +02:00
testcase.yaml tests: misc: fix identifiers 2023-08-01 13:24:09 -04:00
validate_check_init_priorities_output.py scripts: check_init_priorities: use the Zephyr executable file 2023-09-20 20:24:46 +01:00