Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-13846

Investigate mod_stat for identifying Module Boundaries

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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:

      1. Test the tool on different modules using the command mentioned.
      2. Verify if the relevant symbols are printed correctly and in the right order.
      3. Document any discrepancies or issues
      4. Fix documented issue (new tickets may be created if multiple issues are found)

            Assignee:
            monica.ng@mongodb.com Monica Ng
            Reporter:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: