[Lldb-commits] [PATCH] D33426: Introduce new command: thread unique-stacks
Brian Gianforcaro via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon May 22 17:43:27 PDT 2017
bgianfo created this revision.
This patch introduces a new thread command "unique-stacks".
The command is based off of "thread backtrace all" but will instead
find all threads which share matching call stacks and de-duplicate
their output, listing call stack and all the threads which share it.
This is especially useful for apps which use thread/task pools
sitting around waiting for work and cause excessive duplicate output.
I needed this behavior recently when debugging a core with 700+ threads.
https://reviews.llvm.org/D33426
Files:
include/lldb/Target/Thread.h
source/Commands/CommandObjectThread.cpp
source/Core/Debugger.cpp
source/Target/Thread.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33426.99836.patch
Type: text/x-patch
Size: 8924 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170523/7ad55736/attachment-0001.bin>
More information about the lldb-commits
mailing list