[all-commits] [llvm/llvm-project] 767060: Add commands frequency to statistics dump (#80375)

jeffreytan81 via All-commits all-commits at lists.llvm.org
Mon Feb 5 13:17:41 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76706090c2f672ae933798292bfa889f9e3dac3d
      https://github.com/llvm/llvm-project/commit/76706090c2f672ae933798292bfa889f9e3dac3d
  Author: jeffreytan81 <jeffreytan at meta.com>
  Date:   2024-02-05 (Mon, 05 Feb 2024)

  Changed paths:
    M lldb/include/lldb/API/SBCommandInterpreter.h
    M lldb/include/lldb/API/SBStructuredData.h
    M lldb/include/lldb/Interpreter/CommandInterpreter.h
    M lldb/source/API/SBCommandInterpreter.cpp
    M lldb/source/Commands/CommandObjectCommands.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Interpreter/CommandObject.cpp
    M lldb/source/Target/Statistics.cpp
    M lldb/test/API/commands/statistics/basic/TestStats.py
    M lldb/test/API/functionalities/stats_api/TestStatisticsAPI.py

  Log Message:
  -----------
  Add commands frequency to statistics dump (#80375)

Adding command interpreter statistics into "statistics dump" command so
that we can track the command usage frequency for telemetry purpose.
This is useful to answer questions like what is the most frequently used
lldb commands across all our users.

---------

Co-authored-by: jeffreytan81 <jeffreytan at fb.com>




More information about the All-commits mailing list