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

This struct represents a contiguous section of a trace that starts at a PSB and ends right before the next PSB or the end of the trace. More...

#include <LibiptDecoder.h>

Public Attributes

uint64_t psb_offset
 The memory offset of a PSB packet that is a synchronization point for the decoder.
 
std::optional< uint64_t > tsc
 The timestamp associated with the PSB packet above.
 
uint64_t size
 Size in bytes of this block.
 
std::optional< lldb::addr_tstarting_ip
 The first ip for this PSB block.
 

Detailed Description

This struct represents a contiguous section of a trace that starts at a PSB and ends right before the next PSB or the end of the trace.

Definition at line 23 of file LibiptDecoder.h.

Member Data Documentation

◆ psb_offset

uint64_t lldb_private::trace_intel_pt::PSBBlock::psb_offset

The memory offset of a PSB packet that is a synchronization point for the decoder.

A decoder normally looks first for a PSB packet and then it starts decoding.

Definition at line 27 of file LibiptDecoder.h.

Referenced by PSBBlockDecoder::DecodePSBBlock().

◆ size

uint64_t lldb_private::trace_intel_pt::PSBBlock::size

Size in bytes of this block.

Definition at line 31 of file LibiptDecoder.h.

Referenced by PSBBlockDecoder::ProcessPTEventTSC().

◆ starting_ip

std::optional<lldb::addr_t> lldb_private::trace_intel_pt::PSBBlock::starting_ip

The first ip for this PSB block.

This is std::nullopt if tracing was disabled when the PSB block was emitted. This means that eventually there's be an enablement event that will come with an ip.

Definition at line 36 of file LibiptDecoder.h.

◆ tsc

std::optional<uint64_t> lldb_private::trace_intel_pt::PSBBlock::tsc

The timestamp associated with the PSB packet above.

Definition at line 29 of file LibiptDecoder.h.

Referenced by PSBBlockDecoder::DecodePSBBlock().


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