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>

Collaboration diagram for lldb_private::trace_intel_pt::PSBBlock:
Collaboration graph
[legend]

Public Attributes

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

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 22 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 26 of file LibiptDecoder.h.

◆ size

uint64_t lldb_private::trace_intel_pt::PSBBlock::size

Size in bytes of this block.

Definition at line 30 of file LibiptDecoder.h.

◆ starting_ip

llvm::Optional<lldb::addr_t> lldb_private::trace_intel_pt::PSBBlock::starting_ip

The first ip for this PSB block.

This is None 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 35 of file LibiptDecoder.h.

◆ tsc

llvm::Optional<uint64_t> lldb_private::trace_intel_pt::PSBBlock::tsc

The timestamp associated with the PSB packet above.

Definition at line 28 of file LibiptDecoder.h.


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