llvm-project/lldb/source/Target
Pavel Labath 7f1c12118f 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
2017-06-12 16:25:24 +00:00
..
ABI.cpp Make lldb -Werror clean for -Wstring-conversion 2017-01-06 00:38:06 +00:00
CMakeLists.txt Delete some more dead includes. 2017-03-22 23:33:16 +00:00
CPPLanguageRuntime.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ExecutionContext.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
FileAction.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
InstrumentationRuntime.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
InstrumentationRuntimeStopInfo.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
JITLoader.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
JITLoaderList.cpp [lldb] Fix typos in file headers 2016-11-26 05:23:44 +00:00
Language.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
LanguageRuntime.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Memory.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
MemoryHistory.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ModuleCache.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ObjCLanguageRuntime.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OperatingSystem.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
PathMappingList.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Platform.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Process.cpp Recommit "RunThreadPlan: Fix halting logic in IgnoreBreakpoints = false" 2017-05-25 10:50:06 +00:00
ProcessInfo.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
ProcessLaunchInfo.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
Queue.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
QueueItem.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
QueueList.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
RegisterContext.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
RegisterNumber.cpp Remove dependencies from Utility to Core and Target. 2017-02-14 19:06:07 +00:00
SectionLoadHistory.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
SectionLoadList.cpp Fix backtrace of noreturn functions situated at the end of a module 2017-06-08 13:26:35 +00:00
StackFrame.cpp Introduce new command: thread backtrace unique 2017-06-12 16:25:24 +00:00
StackFrameList.cpp Introduce new command: thread backtrace unique 2017-06-12 16:25:24 +00:00
StackID.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
StopInfo.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
StructuredDataPlugin.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SystemRuntime.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Target.cpp Remove an expensive lock from Timer 2017-05-15 13:02:37 +00:00
TargetList.cpp Remove an expensive lock from Timer 2017-05-15 13:02:37 +00:00
Thread.cpp Introduce new command: thread backtrace unique 2017-06-12 16:25:24 +00:00
ThreadCollection.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadList.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlan.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanBase.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanCallFunction.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ThreadPlanCallFunctionUsingABI.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanCallOnFunctionExit.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanCallUserExpression.cpp Add DidStartExecuting/WillFinishExecuting methods to Expression. 2017-05-05 22:42:13 +00:00
ThreadPlanPython.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanRunToAddress.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanShouldStopHere.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanStepInRange.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanStepInstruction.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanStepOut.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanStepOverBreakpoint.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanStepOverRange.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanStepRange.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanStepThrough.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
ThreadPlanStepUntil.cpp iwyu fixes for lldbCore. 2017-04-06 21:28:29 +00:00
ThreadPlanTracer.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ThreadSpec.cpp Update StructuredData::String to return StringRefs. 2017-05-12 05:49:54 +00:00
UnixSignals.cpp Make LLDB skip server-client roundtrip for signals that don't require any actions 2017-03-07 21:34:40 +00:00
UnwindAssembly.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00