LLDB  mainline
Public Attributes | List of all members
lldb_private::TraceStartRequest Struct Reference

jLLDBTraceStart gdb-remote packet More...

#include <TraceGDBRemotePackets.h>

Inheritance diagram for lldb_private::TraceStartRequest:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::TraceStartRequest:
Collaboration graph
[legend]

Public Member Functions

bool IsProcessTracing () const
 jLLDBTraceStart More...
 

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 starts tracing the whole process. More...
 

Detailed Description

jLLDBTraceStart gdb-remote packet

Definition at line 41 of file TraceGDBRemotePackets.h.

Member Function Documentation

◆ IsProcessTracing()

bool lldb_private::TraceStartRequest::IsProcessTracing ( ) const

jLLDBTraceStart

Returns
true if tids is None, i.e. whole process tracing.

Definition at line 32 of file TraceGDBRemotePackets.cpp.

Referenced by lldb_private::process_linux::IntelPTManager::TraceStart().

Member Data Documentation

◆ tids

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

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

Otherwise, only tracing for the specified threads is enabled.

Definition at line 47 of file TraceGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), lldb_private::toJSON(), and lldb_private::process_linux::IntelPTManager::TraceStart().

◆ type

std::string lldb_private::TraceStartRequest::type

Tracing technology name, e.g. intel-pt, arm-coresight.

Definition at line 43 of file TraceGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), and lldb_private::toJSON().


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