[Lldb-commits] [PATCH] D93895: Implement vAttachWait in lldb-server
Augusto Noronha via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Jan 5 09:29:21 PST 2021
augusto2112 marked an inline comment as done.
augusto2112 added a comment.
@clayborg I've added support for the 'waitfor-interval' and 'waitfor-duration' flags. Yesterday I thought they existed in macOS, but now I'm not so sure, as I couldn't find them on "Options.td". They were added in 2009, so maybe they did exist but were dropped later. Or I just didn't look at the right place.
A couple of questions:
- About the default polling interval, I've set it to 1ms for now, but I found that (in my system) this keeps a core at 100%. 10ms keeps still keeps it at around 80%, and 100ms keeps it at around 35%. Maybe 100ms is a good balance?
- On "Options.td", besides the "process attach" command, there's also a "platform process attach". I haven't touched it since I'm not familiar with the platform command. Should I add these flags to the platform counterpart as well?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93895/new/
https://reviews.llvm.org/D93895
More information about the lldb-commits
mailing list