llvm-project/lldb/scripts
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
..
Python Install six.py conditionally 2017-02-04 00:20:24 +00:00
Xcode Fixed repo.py to not send git errors to stderr. 2017-03-03 23:13:30 +00:00
interface Initial implementation of SB APIs for Tracing support. 2017-04-26 08:48:50 +00:00
swig_bot_lib *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CMakeLists.txt Install lldb Python module on Windows. 2017-01-06 22:05:35 +00:00
analyze-project-deps.py [analyze deps] Show incoming and outgoing counts on island members. 2017-03-22 18:23:14 +00:00
build-lldb-llvm-clang
buildbot.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
checkpoint-llvm.pl Fix typos. 2014-07-01 21:22:11 +00:00
disasm-gdb-remote.pl Fix typos. 2014-07-01 21:22:11 +00:00
finish-swig-wrapper-classes.sh
finishSwigWrapperClasses.py Install six.py conditionally 2017-02-04 00:20:24 +00:00
generate-vers.pl
get_relative_lib_dir.py Support RHEL 7 and similar systems that use architecture-specific Python lib dirs 2015-10-12 20:12:27 +00:00
install-lldb.sh
install_custom_python.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
lldb.swig Initial implementation of SB APIs for Tracing support. 2017-04-26 08:48:50 +00:00
prepare_bindings.py Fix SBDebugger.GetOutputFileHandle() on OS X. 2016-03-11 01:57:45 +00:00
sed-sources Fix typos. 2014-07-01 21:22:11 +00:00
shush Several improvements to the shush script 2015-01-16 23:16:22 +00:00
swig_bot.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
use_lldb_suite.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
utilsArgsParse.py Install six.py conditionally 2017-02-04 00:20:24 +00:00
utilsDebug.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
utilsOsType.py Support of lldb on Kfreebsd 2016-12-17 12:48:06 +00:00
verify_api.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00