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

jLLDBTraceStart gdb-remote packet More...

#include <TraceIntelPTGDBRemotePackets.h>

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

Public Member Functions

bool IsPerCpuTracing () const
 
- Public Member Functions inherited from lldb_private::TraceStartRequest
bool IsProcessTracing () const
 jLLDBTraceStart More...
 

Public Attributes

uint64_t ipt_trace_size
 Size in bytes to use for each thread's trace buffer. More...
 
bool enable_tsc
 Whether to enable TSC. More...
 
llvm::Optional< uint64_t > psb_period
 PSB packet period. More...
 
llvm::Optional< uint64_t > process_buffer_size_limit
 Required when doing "process tracing". More...
 
llvm::Optional< bool > per_cpu_tracing
 Whether to have a trace buffer per thread or per cpu cpu. More...
 
llvm::Optional< bool > disable_cgroup_filtering
 Disable the cgroup filtering that is automatically applied in per cpu mode. More...
 
- Public Attributes inherited from lldb_private::TraceStartRequest
std::string type
 Tracing technology name, e.g. intel-pt, arm-coresight. More...
 
llvm::Optional< std::vector< lldb::tid_t > > tids
 If llvm::None, then this starts tracing the whole process. More...
 

Detailed Description

jLLDBTraceStart gdb-remote packet

Definition at line 33 of file TraceIntelPTGDBRemotePackets.h.

Member Function Documentation

◆ IsPerCpuTracing()

bool lldb_private::TraceIntelPTStartRequest::IsPerCpuTracing ( ) const

Member Data Documentation

◆ disable_cgroup_filtering

llvm::Optional<bool> lldb_private::TraceIntelPTStartRequest::disable_cgroup_filtering

Disable the cgroup filtering that is automatically applied in per cpu mode.

Definition at line 55 of file TraceIntelPTGDBRemotePackets.h.

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

◆ enable_tsc

bool lldb_private::TraceIntelPTStartRequest::enable_tsc

◆ ipt_trace_size

uint64_t lldb_private::TraceIntelPTStartRequest::ipt_trace_size

Size in bytes to use for each thread's trace buffer.

Definition at line 35 of file TraceIntelPTGDBRemotePackets.h.

Referenced by IsTotalBufferLimitReached(), and lldb_private::process_linux::IntelPTSingleBufferTrace::Start().

◆ per_cpu_tracing

llvm::Optional<bool> lldb_private::TraceIntelPTStartRequest::per_cpu_tracing

Whether to have a trace buffer per thread or per cpu cpu.

Definition at line 51 of file TraceIntelPTGDBRemotePackets.h.

◆ process_buffer_size_limit

llvm::Optional<uint64_t> lldb_private::TraceIntelPTStartRequest::process_buffer_size_limit

Required when doing "process tracing".

Limit in bytes on all the thread traces started by this "process trace" instance. When a thread is about to be traced and the limit would be hit, then a "tracing" stop event is triggered.

Definition at line 48 of file TraceIntelPTGDBRemotePackets.h.

Referenced by IsTotalBufferLimitReached().

◆ psb_period

llvm::Optional<uint64_t> lldb_private::TraceIntelPTStartRequest::psb_period

PSB packet period.

Definition at line 41 of file TraceIntelPTGDBRemotePackets.h.

Referenced by lldb_private::process_linux::IntelPTSingleBufferTrace::Start().


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