-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Tools
-
Storage Engines
-
8
-
StorEng - 2024-12-24
Objective: Enhance the mod_stat tool allowing it to provide a detailed report of all elements associated with a module, including files, functions, macros, enums, unions, structs, and struct fields.
The final goal here is to allow mod_stat script to output a report of -
- Files and symbols from the module’s dedicated folder.
- Files and symbols from outside the module’s dedicated folder. When starting out with a module not all module files/symbols reside entirely in a single designated folder. For example, as seen with eviction, certain symbols owned by eviction are present in Btree.
The mod_stat tool will be used to allow developers to analyze existing modules. While the tool is capable, it currently has minor issues when printing symbols residing in the module boundaries using the command -
dist/modstat -l (module name)
Scope
This ticket involves an investigation process to:
- Test the tool on different modules using the command mentioned.
- Verify if the relevant symbols are printed correctly and in the right order.
- Document any discrepancies or issues
- Fix documented issue (new tickets may be created if multiple issues are found)