summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/CMakeLists.txt
diff options
context:
space:
mode:
authorRavitheja Addepally <ravitheja.addepally@intel.com>2017-04-26 08:48:50 +0000
committerRavitheja Addepally <ravitheja.addepally@intel.com>2017-04-26 08:48:50 +0000
commitd5d8d91c1db18b984adb43632a1832202a0ecf1b (patch)
tree7391e1acfc7b953e755552c21ed20778ade191f1 /lldb/source/API/CMakeLists.txt
parent2bcd94f8d8959a523adf8211c57a94782d561ca5 (diff)
downloadbcm5719-llvm-d5d8d91c1db18b984adb43632a1832202a0ecf1b.tar.gz
bcm5719-llvm-d5d8d91c1db18b984adb43632a1832202a0ecf1b.zip
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
Diffstat (limited to 'lldb/source/API/CMakeLists.txt')
-rw-r--r--lldb/source/API/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/API/CMakeLists.txt b/lldb/source/API/CMakeLists.txt
index 3b852a3d740..9dd21bcf2aa 100644
--- a/lldb/source/API/CMakeLists.txt
+++ b/lldb/source/API/CMakeLists.txt
@@ -67,6 +67,8 @@ add_lldb_library(liblldb SHARED
SBThread.cpp
SBThreadCollection.cpp
SBThreadPlan.cpp
+ SBTrace.cpp
+ SBTraceOptions.cpp
SBType.cpp
SBTypeCategory.cpp
SBTypeEnumMember.cpp
OpenPOWER on IntegriCloud