LLDB mainline
lldb_private::trace_intel_pt::TraceIntelPT::Storage Struct Reference

We package all the data that can change upon process stops to make sure this contract is very visible. More...

Public Attributes

std::optional< TraceIntelPTMultiCpuDecodermulticpu_decoder
llvm::DenseMap< lldb::tid_t, std::unique_ptr< ThreadDecoder > > thread_decoders
 These decoders are used for the non-per-cpu case.
TaskTimer task_timer
 Helper variable used to track long running operations for telemetry.
std::optional< LinuxPerfZeroTscConversiontsc_conversion
 It is provided by either a trace bundle or a live process to convert TSC counters to and from nanos.
std::optional< uint64_t > beginning_of_time_nanos
bool beginning_of_time_nanos_calculated = false

Detailed Description

We package all the data that can change upon process stops to make sure this contract is very visible.

This variable should only be accessed directly by constructores or live process data refreshers.

Definition at line 265 of file TraceIntelPT.h.

Member Data Documentation

◆ beginning_of_time_nanos

std::optional<uint64_t> lldb_private::trace_intel_pt::TraceIntelPT::Storage::beginning_of_time_nanos

◆ beginning_of_time_nanos_calculated

bool lldb_private::trace_intel_pt::TraceIntelPT::Storage::beginning_of_time_nanos_calculated = false

◆ multicpu_decoder

◆ task_timer

TaskTimer lldb_private::trace_intel_pt::TraceIntelPT::Storage::task_timer

Helper variable used to track long running operations for telemetry.

Definition at line 270 of file TraceIntelPT.h.

◆ thread_decoders

llvm::DenseMap<lldb::tid_t, std::unique_ptr<ThreadDecoder> > lldb_private::trace_intel_pt::TraceIntelPT::Storage::thread_decoders

◆ tsc_conversion

std::optional<LinuxPerfZeroTscConversion> lldb_private::trace_intel_pt::TraceIntelPT::Storage::tsc_conversion

It is provided by either a trace bundle or a live process to convert TSC counters to and from nanos.

It might not be available on all hosts.

Definition at line 273 of file TraceIntelPT.h.

Referenced by lldb_private::trace_intel_pt::TraceIntelPT::FindBeginningOfTimeNanos(), and lldb_private::trace_intel_pt::TraceIntelPT::GetPerfZeroTscConversion().


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