[Lldb-commits] [PATCH] D74398: [lldb-server] jThreadsInfo returns stack memory
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 13 00:32:26 PST 2020
labath added a comment.
BTW, a the `lldb/examples/python/gdbremote.py` script for these kinds of things measurements. It takes a lldb log file produced like so: `log enable gdb-remote packets -T -f /tmp/gdb.log`, and it gives you some statistics about the various packets present there:
#------------------------------------------------------------
# Packet Time (sec) Percent Count Latency
#------------------------- ----------- ------- ------ -------
x 0.003926 37.15% 22 0.000178
qRegisterInfo 0.001462 13.83% 135 0.000011
A 0.001419 13.43% 1 0.001419
...
I'd be interested in seeing is how much does this extra work increase the latency of the jThreadsInfo packet.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74398/new/
https://reviews.llvm.org/D74398
More information about the lldb-commits
mailing list