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

jLLDBTraceStop gdb-remote packet More...

#include <TraceGDBRemotePackets.h>

Collaboration diagram for lldb_private::TraceStopRequest:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

std::string type
 Tracing technology name, e.g. intel-pt, arm-coresight. More...
 
llvm::Optional< std::vector< int64_t > > tids
 If llvm::None, then this stops tracing the whole process. More...
 

Detailed Description

jLLDBTraceStop gdb-remote packet

Definition at line 62 of file TraceGDBRemotePackets.h.

Constructor & Destructor Documentation

◆ TraceStopRequest() [1/3]

lldb_private::TraceStopRequest::TraceStopRequest ( )
default

◆ TraceStopRequest() [2/3]

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

jLLDBTraceStop

Definition at line 46 of file TraceGDBRemotePackets.cpp.

References tids.

◆ TraceStopRequest() [3/3]

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

Definition at line 67 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::IntelPTManager::TraceStop().

Member Data Documentation

◆ tids

llvm::Optional<std::vector<int64_t> > lldb_private::TraceStopRequest::tids

If llvm::None, then this stops tracing the whole process.

Otherwise, only tracing for the specified threads is stopped.

Definition at line 75 of file TraceGDBRemotePackets.h.

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

◆ type

std::string lldb_private::TraceStopRequest::type

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