Home
last modified time | relevance | path

Searched refs:intel_pt_insn (Results 1 – 9 of 9) sorted by relevance

/linux/tools/perf/util/intel-pt-decoder/
A Dintel-pt-insn-decoder.c28 struct intel_pt_insn *intel_pt_insn) in intel_pt_insn_decoder() argument
34 intel_pt_insn->rel = 0; in intel_pt_insn_decoder()
140 intel_pt_insn->op = op; in intel_pt_insn_decoder()
141 intel_pt_insn->branch = branch; in intel_pt_insn_decoder()
152 intel_pt_insn->rel = in intel_pt_insn_decoder()
159 intel_pt_insn->rel = 0; in intel_pt_insn_decoder()
169 struct intel_pt_insn *intel_pt_insn) in intel_pt_get_insn() argument
189 struct intel_pt_insn in; in arch_is_branch()
238 int intel_pt_insn_desc(const struct intel_pt_insn *intel_pt_insn, char *buf, in intel_pt_insn_desc() argument
241 switch (intel_pt_insn->branch) { in intel_pt_insn_desc()
[all …]
A Dintel-pt-log.c110 void __intel_pt_log_insn(struct intel_pt_insn *intel_pt_insn, uint64_t ip) in __intel_pt_log_insn() argument
113 size_t len = intel_pt_insn->length; in __intel_pt_log_insn()
120 intel_pt_print_data(intel_pt_insn->buf, len, ip, 8); in __intel_pt_log_insn()
121 if (intel_pt_insn_desc(intel_pt_insn, desc, INTEL_PT_INSN_DESC_MAX) > 0) in __intel_pt_log_insn()
127 void __intel_pt_log_insn_no_data(struct intel_pt_insn *intel_pt_insn, in __intel_pt_log_insn_no_data() argument
136 if (intel_pt_insn_desc(intel_pt_insn, desc, INTEL_PT_INSN_DESC_MAX) > 0) in __intel_pt_log_insn_no_data()
A Dintel-pt-insn-decoder.h37 struct intel_pt_insn { struct
46 struct intel_pt_insn *intel_pt_insn); argument
50 int intel_pt_insn_desc(const struct intel_pt_insn *intel_pt_insn, char *buf,
A Dintel-pt-log.h24 struct intel_pt_insn;
26 void __intel_pt_log_insn(struct intel_pt_insn *intel_pt_insn, uint64_t ip);
27 void __intel_pt_log_insn_no_data(struct intel_pt_insn *intel_pt_insn,
A Dintel-pt-decoder.c119 int (*walk_insn)(struct intel_pt_insn *intel_pt_insn,
1098 struct intel_pt_insn *intel_pt_insn, uint64_t ip) in intel_pt_walk_insn() argument
1146 intel_pt_insn->rel) { in intel_pt_walk_insn()
1148 intel_pt_insn->length); in intel_pt_walk_insn()
1161 intel_pt_insn->rel; in intel_pt_walk_insn()
1276 struct intel_pt_insn *intel_pt_insn, in intel_pt_fup_with_nlip() argument
1286 struct intel_pt_insn intel_pt_insn; in intel_pt_walk_fup() local
1329 struct intel_pt_insn intel_pt_insn; in intel_pt_walk_tip() local
1382 intel_pt_insn.rel; in intel_pt_walk_tip()
1408 struct intel_pt_insn intel_pt_insn; in intel_pt_walk_tnt() local
[all …]
A Dintel-pt-decoder.h239 struct intel_pt_insn;
253 int (*walk_insn)(struct intel_pt_insn *intel_pt_insn,
/linux/tools/perf/arch/x86/tests/
A Dinsn-x86.c98 struct intel_pt_insn intel_pt_insn; in test_data_item() local
118 if (intel_pt_get_insn(dat->data, MAX_INSN_SIZE, x86_64, &intel_pt_insn)) { in test_data_item()
123 if ((int)intel_pt_insn.op != op) { in test_data_item()
125 intel_pt_insn.op, op, dat->asm_rep); in test_data_item()
129 if ((int)intel_pt_insn.branch != branch) { in test_data_item()
131 intel_pt_insn.branch, branch, dat->asm_rep); in test_data_item()
135 if (intel_pt_insn.rel != dat->expected_rel) { in test_data_item()
137 intel_pt_insn.rel, dat->expected_rel, dat->asm_rep); in test_data_item()
/linux/tools/perf/util/
A Dintel-bts.c76 struct intel_pt_insn intel_pt_insn; member
294 sample.insn_len = btsq->intel_pt_insn.length; in intel_bts_synth_branch_sample()
295 memcpy(sample.insn, btsq->intel_pt_insn.buf, INTEL_PT_INSN_BUF_SZ); in intel_bts_synth_branch_sample()
335 if (intel_pt_get_insn(buf, len, x86_64, &btsq->intel_pt_insn)) in intel_bts_get_next_insn()
373 btsq->intel_pt_insn.length = 0; in intel_bts_get_branch_type()
377 btsq->intel_pt_insn.length = 0; in intel_bts_get_branch_type()
382 btsq->intel_pt_insn.length = 0; in intel_bts_get_branch_type()
390 btsq->sample_flags = intel_pt_insn_type(btsq->intel_pt_insn.op); in intel_bts_get_branch_type()
434 btsq->intel_pt_insn.length, in intel_bts_process_buffer()
A Dintel-pt.c589 struct intel_pt_insn *intel_pt_insn) in intel_pt_cache_add() argument
604 e->op = intel_pt_insn->op; in intel_pt_cache_add()
605 e->branch = intel_pt_insn->branch; in intel_pt_cache_add()
606 e->length = intel_pt_insn->length; in intel_pt_cache_add()
607 e->rel = intel_pt_insn->rel; in intel_pt_cache_add()
692 static int intel_pt_walk_next_insn(struct intel_pt_insn *intel_pt_insn, in intel_pt_walk_next_insn() argument
710 intel_pt_insn->length = 0; in intel_pt_walk_next_insn()
752 intel_pt_insn->op = e->op; in intel_pt_walk_next_insn()
755 intel_pt_insn->rel = e->rel; in intel_pt_walk_next_insn()
791 *ip += intel_pt_insn->length; in intel_pt_walk_next_insn()
[all …]

Completed in 30 milliseconds