Linux Perf
intel_pt_decoder Struct Reference
Collaboration diagram for intel_pt_decoder:
Collaboration graph

Public Attributes

int(* get_trace )(struct intel_pt_buffer *buffer, void *data)
 
int(* walk_insn )(struct intel_pt_insn *intel_pt_insn, uint64_t *insn_cnt_ptr, uint64_t *ip, uint64_t to_ip, uint64_t max_insn_cnt, void *data)
 
bool(* pgd_ip )(uint64_t ip, void *data)
 
void * data
 
struct intel_pt_state state
 
const unsigned char * buf
 
size_t len
 
bool return_compression
 
bool branch_enable
 
bool mtc_insn
 
bool pge
 
bool have_tma
 
bool have_cyc
 
bool fixup_last_mtc
 
bool have_last_ip
 
enum intel_pt_param_flags flags
 
uint64_t pos
 
uint64_t last_ip
 
uint64_t ip
 
uint64_t cr3
 
uint64_t timestamp
 
uint64_t tsc_timestamp
 
uint64_t ref_timestamp
 
uint64_t sample_timestamp
 
uint64_t ret_addr
 
uint64_t ctc_timestamp
 
uint64_t ctc_delta
 
uint64_t cycle_cnt
 
uint64_t cyc_ref_timestamp
 
uint32_t last_mtc
 
uint32_t tsc_ctc_ratio_n
 
uint32_t tsc_ctc_ratio_d
 
uint32_t tsc_ctc_mult
 
uint32_t tsc_slip
 
uint32_t ctc_rem_mask
 
int mtc_shift
 
struct intel_pt_stack stack
 
enum intel_pt_pkt_state pkt_state
 
struct intel_pt_pkt packet
 
struct intel_pt_pkt tnt
 
int pkt_step
 
int pkt_len
 
int last_packet_type
 
unsigned int cbr
 
unsigned int cbr_seen
 
unsigned int max_non_turbo_ratio
 
double max_non_turbo_ratio_fp
 
double cbr_cyc_to_tsc
 
double calc_cyc_to_tsc
 
bool have_calc_cyc_to_tsc
 
int exec_mode
 
unsigned int insn_bytes
 
uint64_t period
 
enum intel_pt_period_type period_type
 
uint64_t tot_insn_cnt
 
uint64_t period_insn_cnt
 
uint64_t period_mask
 
uint64_t period_ticks
 
uint64_t last_masked_timestamp
 
bool continuous_period
 
bool overflow
 
bool set_fup_tx_flags
 
bool set_fup_ptw
 
bool set_fup_mwait
 
bool set_fup_pwre
 
bool set_fup_exstop
 
unsigned int fup_tx_flags
 
unsigned int tx_flags
 
uint64_t fup_ptw_payload
 
uint64_t fup_mwait_payload
 
uint64_t fup_pwre_payload
 
uint64_t cbr_payload
 
uint64_t timestamp_insn_cnt
 
uint64_t sample_insn_cnt
 
uint64_t stuck_ip
 
int no_progress
 
int stuck_ip_prd
 
int stuck_ip_cnt
 
const unsigned char * next_buf
 
size_t next_len
 
unsigned char temp_buf [INTEL_PT_PKT_MAX_SZ]
 

Detailed Description

Definition at line 98 of file intel-pt-decoder.c.

Member Data Documentation

◆ branch_enable

bool intel_pt_decoder::branch_enable

Definition at line 109 of file intel-pt-decoder.c.

◆ buf

const unsigned char* intel_pt_decoder::buf

Definition at line 106 of file intel-pt-decoder.c.

◆ calc_cyc_to_tsc

double intel_pt_decoder::calc_cyc_to_tsc

Definition at line 149 of file intel-pt-decoder.c.

◆ cbr

unsigned int intel_pt_decoder::cbr

Definition at line 144 of file intel-pt-decoder.c.

◆ cbr_cyc_to_tsc

double intel_pt_decoder::cbr_cyc_to_tsc

Definition at line 148 of file intel-pt-decoder.c.

◆ cbr_payload

uint64_t intel_pt_decoder::cbr_payload

Definition at line 172 of file intel-pt-decoder.c.

◆ cbr_seen

unsigned int intel_pt_decoder::cbr_seen

Definition at line 145 of file intel-pt-decoder.c.

◆ continuous_period

bool intel_pt_decoder::continuous_period

Definition at line 160 of file intel-pt-decoder.c.

◆ cr3

uint64_t intel_pt_decoder::cr3

Definition at line 120 of file intel-pt-decoder.c.

◆ ctc_delta

uint64_t intel_pt_decoder::ctc_delta

Definition at line 127 of file intel-pt-decoder.c.

◆ ctc_rem_mask

uint32_t intel_pt_decoder::ctc_rem_mask

Definition at line 135 of file intel-pt-decoder.c.

◆ ctc_timestamp

uint64_t intel_pt_decoder::ctc_timestamp

Definition at line 126 of file intel-pt-decoder.c.

◆ cyc_ref_timestamp

uint64_t intel_pt_decoder::cyc_ref_timestamp

Definition at line 129 of file intel-pt-decoder.c.

◆ cycle_cnt

uint64_t intel_pt_decoder::cycle_cnt

Definition at line 128 of file intel-pt-decoder.c.

◆ data

void* intel_pt_decoder::data

Definition at line 104 of file intel-pt-decoder.c.

◆ exec_mode

int intel_pt_decoder::exec_mode

Definition at line 151 of file intel-pt-decoder.c.

◆ fixup_last_mtc

bool intel_pt_decoder::fixup_last_mtc

Definition at line 114 of file intel-pt-decoder.c.

◆ flags

enum intel_pt_param_flags intel_pt_decoder::flags

Definition at line 116 of file intel-pt-decoder.c.

◆ fup_mwait_payload

uint64_t intel_pt_decoder::fup_mwait_payload

Definition at line 170 of file intel-pt-decoder.c.

◆ fup_ptw_payload

uint64_t intel_pt_decoder::fup_ptw_payload

Definition at line 169 of file intel-pt-decoder.c.

◆ fup_pwre_payload

uint64_t intel_pt_decoder::fup_pwre_payload

Definition at line 171 of file intel-pt-decoder.c.

◆ fup_tx_flags

unsigned int intel_pt_decoder::fup_tx_flags

Definition at line 167 of file intel-pt-decoder.c.

◆ get_trace

int(* intel_pt_decoder::get_trace) (struct intel_pt_buffer *buffer, void *data)

Definition at line 99 of file intel-pt-decoder.c.

◆ have_calc_cyc_to_tsc

bool intel_pt_decoder::have_calc_cyc_to_tsc

Definition at line 150 of file intel-pt-decoder.c.

◆ have_cyc

bool intel_pt_decoder::have_cyc

Definition at line 113 of file intel-pt-decoder.c.

◆ have_last_ip

bool intel_pt_decoder::have_last_ip

Definition at line 115 of file intel-pt-decoder.c.

◆ have_tma

bool intel_pt_decoder::have_tma

Definition at line 112 of file intel-pt-decoder.c.

◆ insn_bytes

unsigned int intel_pt_decoder::insn_bytes

Definition at line 152 of file intel-pt-decoder.c.

◆ ip

uint64_t intel_pt_decoder::ip

Definition at line 119 of file intel-pt-decoder.c.

◆ last_ip

uint64_t intel_pt_decoder::last_ip

Definition at line 118 of file intel-pt-decoder.c.

◆ last_masked_timestamp

uint64_t intel_pt_decoder::last_masked_timestamp

Definition at line 159 of file intel-pt-decoder.c.

◆ last_mtc

uint32_t intel_pt_decoder::last_mtc

Definition at line 130 of file intel-pt-decoder.c.

◆ last_packet_type

int intel_pt_decoder::last_packet_type

Definition at line 143 of file intel-pt-decoder.c.

◆ len

size_t intel_pt_decoder::len

Definition at line 107 of file intel-pt-decoder.c.

◆ max_non_turbo_ratio

unsigned int intel_pt_decoder::max_non_turbo_ratio

Definition at line 146 of file intel-pt-decoder.c.

◆ max_non_turbo_ratio_fp

double intel_pt_decoder::max_non_turbo_ratio_fp

Definition at line 147 of file intel-pt-decoder.c.

◆ mtc_insn

bool intel_pt_decoder::mtc_insn

Definition at line 110 of file intel-pt-decoder.c.

◆ mtc_shift

int intel_pt_decoder::mtc_shift

Definition at line 136 of file intel-pt-decoder.c.

◆ next_buf

const unsigned char* intel_pt_decoder::next_buf

Definition at line 179 of file intel-pt-decoder.c.

◆ next_len

size_t intel_pt_decoder::next_len

Definition at line 180 of file intel-pt-decoder.c.

◆ no_progress

int intel_pt_decoder::no_progress

Definition at line 176 of file intel-pt-decoder.c.

◆ overflow

bool intel_pt_decoder::overflow

Definition at line 161 of file intel-pt-decoder.c.

◆ packet

struct intel_pt_pkt intel_pt_decoder::packet

Definition at line 139 of file intel-pt-decoder.c.

◆ period

uint64_t intel_pt_decoder::period

Definition at line 153 of file intel-pt-decoder.c.

◆ period_insn_cnt

uint64_t intel_pt_decoder::period_insn_cnt

Definition at line 156 of file intel-pt-decoder.c.

◆ period_mask

uint64_t intel_pt_decoder::period_mask

Definition at line 157 of file intel-pt-decoder.c.

◆ period_ticks

uint64_t intel_pt_decoder::period_ticks

Definition at line 158 of file intel-pt-decoder.c.

◆ period_type

enum intel_pt_period_type intel_pt_decoder::period_type

Definition at line 154 of file intel-pt-decoder.c.

◆ pgd_ip

bool(* intel_pt_decoder::pgd_ip) (uint64_t ip, void *data)

Definition at line 103 of file intel-pt-decoder.c.

◆ pge

bool intel_pt_decoder::pge

Definition at line 111 of file intel-pt-decoder.c.

◆ pkt_len

int intel_pt_decoder::pkt_len

Definition at line 142 of file intel-pt-decoder.c.

◆ pkt_state

enum intel_pt_pkt_state intel_pt_decoder::pkt_state

Definition at line 138 of file intel-pt-decoder.c.

◆ pkt_step

int intel_pt_decoder::pkt_step

Definition at line 141 of file intel-pt-decoder.c.

◆ pos

uint64_t intel_pt_decoder::pos

Definition at line 117 of file intel-pt-decoder.c.

◆ ref_timestamp

uint64_t intel_pt_decoder::ref_timestamp

Definition at line 123 of file intel-pt-decoder.c.

◆ ret_addr

uint64_t intel_pt_decoder::ret_addr

Definition at line 125 of file intel-pt-decoder.c.

◆ return_compression

bool intel_pt_decoder::return_compression

Definition at line 108 of file intel-pt-decoder.c.

◆ sample_insn_cnt

uint64_t intel_pt_decoder::sample_insn_cnt

Definition at line 174 of file intel-pt-decoder.c.

◆ sample_timestamp

uint64_t intel_pt_decoder::sample_timestamp

Definition at line 124 of file intel-pt-decoder.c.

◆ set_fup_exstop

bool intel_pt_decoder::set_fup_exstop

Definition at line 166 of file intel-pt-decoder.c.

◆ set_fup_mwait

bool intel_pt_decoder::set_fup_mwait

Definition at line 164 of file intel-pt-decoder.c.

◆ set_fup_ptw

bool intel_pt_decoder::set_fup_ptw

Definition at line 163 of file intel-pt-decoder.c.

◆ set_fup_pwre

bool intel_pt_decoder::set_fup_pwre

Definition at line 165 of file intel-pt-decoder.c.

◆ set_fup_tx_flags

bool intel_pt_decoder::set_fup_tx_flags

Definition at line 162 of file intel-pt-decoder.c.

◆ stack

struct intel_pt_stack intel_pt_decoder::stack

Definition at line 137 of file intel-pt-decoder.c.

◆ state

struct intel_pt_state intel_pt_decoder::state

Definition at line 105 of file intel-pt-decoder.c.

◆ stuck_ip

uint64_t intel_pt_decoder::stuck_ip

Definition at line 175 of file intel-pt-decoder.c.

◆ stuck_ip_cnt

int intel_pt_decoder::stuck_ip_cnt

Definition at line 178 of file intel-pt-decoder.c.

◆ stuck_ip_prd

int intel_pt_decoder::stuck_ip_prd

Definition at line 177 of file intel-pt-decoder.c.

◆ temp_buf

unsigned char intel_pt_decoder::temp_buf[INTEL_PT_PKT_MAX_SZ]

Definition at line 181 of file intel-pt-decoder.c.

◆ timestamp

uint64_t intel_pt_decoder::timestamp

Definition at line 121 of file intel-pt-decoder.c.

◆ timestamp_insn_cnt

uint64_t intel_pt_decoder::timestamp_insn_cnt

Definition at line 173 of file intel-pt-decoder.c.

◆ tnt

struct intel_pt_pkt intel_pt_decoder::tnt

Definition at line 140 of file intel-pt-decoder.c.

◆ tot_insn_cnt

uint64_t intel_pt_decoder::tot_insn_cnt

Definition at line 155 of file intel-pt-decoder.c.

◆ tsc_ctc_mult

uint32_t intel_pt_decoder::tsc_ctc_mult

Definition at line 133 of file intel-pt-decoder.c.

◆ tsc_ctc_ratio_d

uint32_t intel_pt_decoder::tsc_ctc_ratio_d

Definition at line 132 of file intel-pt-decoder.c.

◆ tsc_ctc_ratio_n

uint32_t intel_pt_decoder::tsc_ctc_ratio_n

Definition at line 131 of file intel-pt-decoder.c.

◆ tsc_slip

uint32_t intel_pt_decoder::tsc_slip

Definition at line 134 of file intel-pt-decoder.c.

◆ tsc_timestamp

uint64_t intel_pt_decoder::tsc_timestamp

Definition at line 122 of file intel-pt-decoder.c.

◆ tx_flags

unsigned int intel_pt_decoder::tx_flags

Definition at line 168 of file intel-pt-decoder.c.

◆ walk_insn

int(* intel_pt_decoder::walk_insn) (struct intel_pt_insn *intel_pt_insn, uint64_t *insn_cnt_ptr, uint64_t *ip, uint64_t to_ip, uint64_t max_insn_cnt, void *data)

Definition at line 100 of file intel-pt-decoder.c.


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