[all-commits] [llvm/llvm-project] 130055: Add unix signal hit counts to the target statistics.

Greg Clayton via All-commits all-commits at lists.llvm.org
Wed Oct 27 22:31:29 PDT 2021


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

  Changed paths:
    M lldb/include/lldb/Target/UnixSignals.h
    M lldb/source/Target/Statistics.cpp
    M lldb/source/Target/StopInfo.cpp
    M lldb/source/Target/UnixSignals.cpp
    M lldb/test/API/functionalities/signal/TestSendSignal.py

  Log Message:
  -----------
  Add unix signal hit counts to the target statistics.

Android and other platforms make wide use of signals when running applications and this can slow down debug sessions. Tracking this statistic can help us to determine why a debug session is slow.

The new data appears inside each target object and reports the signal hit counts:

      "signals": [
        {
          "SIGSTOP": 1
        },
        {
          "SIGUSR1": 1
        }
      ],

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




More information about the All-commits mailing list