[Lldb-commits] [PATCH] D112683: Add unix signal hit counts to the target statistics.
Greg Clayton via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 27 18:35:33 PDT 2021
clayborg created this revision.
clayborg added reviewers: JDevlieghere, jingham, wallace, aadsm.
clayborg requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
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
}
],
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D112683
Files:
lldb/include/lldb/Target/UnixSignals.h
lldb/source/Target/Statistics.cpp
lldb/source/Target/StopInfo.cpp
lldb/source/Target/UnixSignals.cpp
lldb/test/API/functionalities/signal/TestSendSignal.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112683.382876.patch
Type: text/x-patch
Size: 8257 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211028/be0f02f5/attachment-0001.bin>
More information about the lldb-commits
mailing list