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]

Public Member Functions

bool IsProcessTracing () const
 jLLDBTraceStart
 

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

Detailed Description

jLLDBTraceStart gdb-remote packet

Definition at line 43 of file TraceGDBRemotePackets.h.

Member Function Documentation

◆ IsProcessTracing()

bool lldb_private::TraceStartRequest::IsProcessTracing ( ) const

jLLDBTraceStart

Returns
true if tids is std::nullopt, i.e. whole process tracing.

Definition at line 32 of file TraceGDBRemotePackets.cpp.

References tids.

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

Member Data Documentation

◆ tids

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

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

Otherwise, only tracing for the specified threads is enabled.

Definition at line 49 of file TraceGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), IsProcessTracing(), lldb_private::trace_intel_pt::TraceIntelPT::Start(), lldb_private::toJSON(), and lldb_private::process_linux::IntelPTCollector::TraceStart().

◆ type

std::string lldb_private::TraceStartRequest::type

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

Definition at line 45 of file TraceGDBRemotePackets.h.

Referenced by lldb_private::fromJSON(), lldb_private::trace_intel_pt::TraceIntelPT::Start(), and lldb_private::toJSON().


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