9#ifndef LLDB_API_SBTRACE_H
10#define LLDB_API_SBTRACE_H
61 bool compact =
false);
133 explicit operator bool()
const;
static llvm::raw_ostream & error(Stream &strm)
const char * GetStartConfigurationHelp()
SBTrace()
Default constructor for an invalid Trace object.
SBError Start(const SBStructuredData &configuration)
Start tracing all current and future threads in a live process using a provided configuration.
SBTraceCursor CreateNewCursor(SBError &error, SBThread &thread)
Get a TraceCursor for the given thread's trace.
SBError Stop()
Stop tracing all threads in a live process.
static SBTrace LoadTraceFromFile(SBError &error, SBDebugger &debugger, const SBFileSpec &trace_description_file)
See SBDebugger::LoadTraceFromFile.
SBFileSpec SaveToDisk(SBError &error, const SBFileSpec &bundle_dir, bool compact=false)
Save the trace to the specified directory, which will be created if needed.
lldb::ProcessWP m_opaque_wp
deprecated
lldb::TraceSP m_opaque_sp
std::shared_ptr< lldb_private::Trace > TraceSP
std::weak_ptr< lldb_private::Process > ProcessWP