diff options
author | Pavel Labath <labath@google.com> | 2017-06-12 16:25:24 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2017-06-12 16:25:24 +0000 |
commit | 7f1c12118f4f69c528a12f8371478d9a0bbf7022 (patch) | |
tree | 06a64d1136710647b7818378b23d6c059613ba38 /lldb/packages/Python/lldbsuite/test/expression_command/macros/main.cpp | |
parent | 0c69d6e9bbb8f833daf75297a8b7fab724b33bc1 (diff) | |
download | bcm5719-llvm-7f1c12118f4f69c528a12f8371478d9a0bbf7022.tar.gz bcm5719-llvm-7f1c12118f4f69c528a12f8371478d9a0bbf7022.zip |
Introduce new command: thread backtrace unique
This patch introduces a new thread backtrace command "unique".
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.
Differential Revision: https://reviews.llvm.org/D33426
Reviewers: clayborg, jingham
Patch by Brian Gianforcaro <b.gianfo@gmail.com>
llvm-svn: 305197
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/macros/main.cpp')
0 files changed, 0 insertions, 0 deletions