llvm-project/lldb/source/API
Ravitheja Addepally d5d8d91c1d Initial implementation of SB APIs for Tracing support.
Summary:
This patch introduces new SB APIs for tracing support
inside LLDB. The idea is to gather trace data from
LLDB and provide it through this APIs to external
tools integrating with LLDB. These tools will be
responsible for interpreting and presenting the
trace data to their users.

The patch implements the following new SB APIs ->
-> StartTrace - starts tracing with given parameters
-> StopTrace - stops tracing.
-> GetTraceData - read the trace data .
-> GetMetaData - read the meta data assosciated with the trace.
-> GetTraceConfig - read the trace configuration

Tracing is associated with a user_id that is returned
by the StartTrace API and this id needs to be used
for accessing the trace data and also Stopping
the trace. The user_id itself may map to tracing
the complete process or just an individual thread.
The APIs require an additional thread parameter
when the user of these APIs wishes to perform
thread specific manipulations on the tracing instances.
The patch also includes the corresponding
python wrappers for the C++ based APIs.

Reviewers: k8stone, lldb-commits, clayborg

Reviewed By: clayborg

Subscribers: jingham, mgorny

Differential Revision: https://reviews.llvm.org/D29581

llvm-svn: 301389
2017-04-26 08:48:50 +00:00
..
CMakeLists.txt Initial implementation of SB APIs for Tracing support. 2017-04-26 08:48:50 +00:00
SBAddress.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBAttachInfo.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBBlock.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBBreakpoint.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBBreakpointLocation.cpp Move many other files from Core -> Utility. 2017-03-06 18:34:25 +00:00
SBBroadcaster.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBCommandInterpreter.cpp Make CommandObject help getters/setters use StringRef. 2016-11-12 20:41:02 +00:00
SBCommandReturnObject.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBCommunication.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBCompileUnit.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBData.cpp Move DataBuffer / DataExtractor and friends from Core -> Utility. 2017-03-04 01:30:05 +00:00
SBDebugger.cpp Remove lldb streams from the Log class completely 2017-03-15 09:06:58 +00:00
SBDeclaration.cpp Resubmit "Delete the remainder of platform specific code in FileSpec." 2017-03-22 17:33:23 +00:00
SBError.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBEvent.cpp Remove LIBLLDB_LOG_VERBOSE category 2017-02-05 00:44:54 +00:00
SBExecutionContext.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBExpressionOptions.cpp Use Timeout<> in EvaluateExpressionOptions class 2016-12-06 11:24:51 +00:00
SBFileSpec.cpp Move FileSpec from Host -> Utility. 2017-03-22 18:40:07 +00:00
SBFileSpecList.cpp Move FileSpec from Host -> Utility. 2017-03-22 18:40:07 +00:00
SBFrame.cpp Teach SBFrame how to guess its language. 2017-04-12 00:19:54 +00:00
SBFunction.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBHostOS.cpp Move FileSpec from Host -> Utility. 2017-03-22 18:40:07 +00:00
SBInstruction.cpp Move DataBuffer / DataExtractor and friends from Core -> Utility. 2017-03-04 01:30:05 +00:00
SBInstructionList.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
SBLanguageRuntime.cpp Update OptionGroup::SetValue to take StringRef. 2016-09-23 17:48:13 +00:00
SBLaunchInfo.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBLineEntry.cpp Resubmit "Delete the remainder of platform specific code in FileSpec." 2017-03-22 17:33:23 +00:00
SBListener.cpp Move the definition of SBListener::GetSP() to SBListener.cpp. 2017-03-29 19:32:59 +00:00
SBMemoryRegionInfo.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
SBMemoryRegionInfoList.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBModule.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBModuleSpec.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
SBPlatform.cpp Resubmit FileSystem changes. 2017-03-08 17:56:08 +00:00
SBProcess.cpp Initial implementation of SB APIs for Tracing support. 2017-04-26 08:48:50 +00:00
SBQueue.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBQueueItem.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBSection.cpp Remove FileSpec::ReadFileContents. 2017-03-06 23:42:14 +00:00
SBSourceManager.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
SBStream.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
SBStringList.cpp Move StringList from Core -> Utility. 2017-03-21 18:25:04 +00:00
SBStructuredData.cpp Initial implementation of SB APIs for Tracing support. 2017-04-26 08:48:50 +00:00
SBSymbol.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBSymbolContext.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBSymbolContextList.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBTarget.cpp Move FileSpec from Host -> Utility. 2017-03-22 18:40:07 +00:00
SBThread.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
SBThreadCollection.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBThreadPlan.cpp Move many other files from Core -> Utility. 2017-03-06 18:34:25 +00:00
SBTrace.cpp Initial implementation of SB APIs for Tracing support. 2017-04-26 08:48:50 +00:00
SBTraceOptions.cpp Initial implementation of SB APIs for Tracing support. 2017-04-26 08:48:50 +00:00
SBType.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBTypeCategory.cpp Make lldb::Regex use StringRef. 2016-09-21 16:01:28 +00:00
SBTypeEnumMember.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
SBTypeFilter.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBTypeFormat.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBTypeNameSpecifier.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBTypeSummary.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBTypeSynthetic.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBUnixSignals.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBValue.cpp Move DataBuffer / DataExtractor and friends from Core -> Utility. 2017-03-04 01:30:05 +00:00
SBValueList.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SBVariablesOptions.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SBWatchpoint.cpp Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
SystemInitializerFull.cpp [LLDB] OpenBSD support 2017-03-26 15:34:57 +00:00
liblldb-private.exports Limit LLDB_EXPORT_ALL_SYMBOLS to lldb symbols 2016-10-29 00:29:15 +00:00
liblldb.exports Fix OSX cmake build 2016-02-18 17:01:40 +00:00
liblldb.xcode.exports Only export public symbols with the cmake build. 2015-09-04 00:00:41 +00:00