[all-commits] [llvm/llvm-project] c57198: Add modules stats into the "statistics dump" command.

Greg Clayton via All-commits all-commits at lists.llvm.org
Mon Oct 25 11:50:21 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c571988e9d576f78c00e45fc730f68953c45ea3a
      https://github.com/llvm/llvm-project/commit/c571988e9d576f78c00e45fc730f68953c45ea3a
  Author: Greg Clayton <gclayton at fb.com>
  Date:   2021-10-25 (Mon, 25 Oct 2021)

  Changed paths:
    M lldb/include/lldb/Core/Module.h
    M lldb/include/lldb/Target/Statistics.h
    M lldb/source/API/SBTarget.cpp
    M lldb/source/Commands/CommandObjectStats.cpp
    M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
    M lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
    M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
    M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
    M lldb/source/Symbol/Symtab.cpp
    M lldb/source/Target/Statistics.cpp
    M lldb/source/Target/Target.cpp
    M lldb/test/API/commands/statistics/basic/TestStats.py
    M lldb/test/API/functionalities/stats_api/TestStatisticsAPI.py

  Log Message:
  -----------
  Add modules stats into the "statistics dump" command.

The new module stats adds the ability to measure the time it takes to parse and index the symbol tables for each module, and reports modules statistics in the output of "statistics dump" along with the path, UUID and triple of the module. The time it takes to parse and index the symbol tables are also aggregated into new top level key/value pairs at the target level.

Differential Revision: https://reviews.llvm.org/D112279




More information about the All-commits mailing list