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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits