LLDB mainline
Public Member Functions | Public Attributes | List of all members
lldb_private::TraceStopRequest Struct Reference

jLLDBTraceStop gdb-remote packet More...

#include <TraceGDBRemotePackets.h>

Public Member Functions

 TraceStopRequest ()=default
 TraceStopRequest (llvm::StringRef type)
 TraceStopRequest (llvm::StringRef type, const std::vector< lldb::tid_t > &tids)
bool IsProcessTracing () const

Public Attributes

std::string type
 Tracing technology name, e.g. intel-pt, arm-coresight.
std::optional< std::vector< lldb::tid_t > > tids
 If std::nullopt, then this stops tracing the whole process.

Detailed Description

jLLDBTraceStop gdb-remote packet

Definition at line 64 of file TraceGDBRemotePackets.h.

Constructor & Destructor Documentation

◆ TraceStopRequest() [1/3]

lldb_private::TraceStopRequest::TraceStopRequest ( )

◆ TraceStopRequest() [2/3]

lldb_private::TraceStopRequest::TraceStopRequest ( llvm::StringRef  type,
const std::vector< lldb::tid_t > &  tids 


Definition at line 46 of file TraceGDBRemotePackets.cpp.

References tids.

◆ TraceStopRequest() [3/3]

lldb_private::TraceStopRequest::TraceStopRequest ( llvm::StringRef  type)

Definition at line 69 of file TraceGDBRemotePackets.h.

Member Function Documentation

◆ IsProcessTracing()

bool lldb_private::TraceStopRequest::IsProcessTracing ( ) const

Definition at line 54 of file TraceGDBRemotePackets.cpp.

References tids.

Referenced by lldb_private::process_linux::IntelPTCollector::TraceStop().

Member Data Documentation

◆ tids

std::optional<std::vector<lldb::tid_t> > lldb_private::TraceStopRequest::tids

If std::nullopt, then this stops tracing the whole process.

Otherwise, only tracing for the specified threads is stopped.

Definition at line 77 of file TraceGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), IsProcessTracing(), lldb_private::toJSON(), lldb_private::process_linux::IntelPTCollector::TraceStop(), and TraceStopRequest().

◆ type

std::string lldb_private::TraceStopRequest::type

The documentation for this struct was generated from the following files: