lrdp-v2: Add symbol parsing for loadable modules
Current Linux Ram Dump Paser scripts are only able to load kernel symbols by default. No loadable modules' symbols will be parsed at startup time, which may result in 'unknown symbols' in some cases, especially when checking SLAB info on dual-wifi platforms. With this change, loadable modules' symbols can be parsed on script startup by the following configurations: 1) Put all symbols under a certain dir, such as: <dump_location>/symbols/wlan.ko <dump_location>/symbols/wlan_sdio.ko 2) Add --sym_path when invoking the scripts, such as: python %RAM_DUMP_PARSER_PATH%\ramparse.py --sym_path <dump_location>/symbols With the above actions, all loadable modules' symbols will be parsed and stored for subsequent information dumping. Symbol loading commands will also be added into the Trace32 startup script. Change-Id: Idda9c9a08cfd24c19bf4021e80fee5187cd031b9
Showing
- linux-ramdump-parser-v2/gdbmi.py 12 additions, 1 deletionlinux-ramdump-parser-v2/gdbmi.py
- linux-ramdump-parser-v2/module_table.py 65 additions, 0 deletionslinux-ramdump-parser-v2/module_table.py
- linux-ramdump-parser-v2/ramdump.py 64 additions, 5 deletionslinux-ramdump-parser-v2/ramdump.py
- linux-ramdump-parser-v2/ramparse.py 2 additions, 1 deletionlinux-ramdump-parser-v2/ramparse.py
linux-ramdump-parser-v2/module_table.py
0 → 100644
Please register or sign in to comment