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

/linux-master/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-insn-decoder.h39 struct intel_pt_insn { struct
49 struct intel_pt_insn *intel_pt_insn);
53 int intel_pt_insn_desc(const struct intel_pt_insn *intel_pt_insn, char *buf,
H A Dintel-pt-insn-decoder.c29 struct intel_pt_insn *intel_pt_insn)
35 intel_pt_insn->rel = 0;
36 intel_pt_insn->emulated_ptwrite = false;
39 intel_pt_insn->op = INTEL_PT_OP_OTHER;
40 intel_pt_insn->branch = INTEL_PT_BR_NO_BRANCH;
41 intel_pt_insn->length = insn->length;
156 intel_pt_insn->op = op;
157 intel_pt_insn->branch = branch;
158 intel_pt_insn
28 intel_pt_insn_decoder(struct insn *insn, struct intel_pt_insn *intel_pt_insn) argument
184 intel_pt_get_insn(const unsigned char *buf, size_t len, int x86_64, struct intel_pt_insn *intel_pt_insn) argument
256 intel_pt_insn_desc(const struct intel_pt_insn *intel_pt_insn, char *buf, size_t buf_len) argument
[all...]
H A Dintel-pt-log.h25 struct intel_pt_insn;
27 void __intel_pt_log_insn(struct intel_pt_insn *intel_pt_insn, uint64_t ip);
28 void __intel_pt_log_insn_no_data(struct intel_pt_insn *intel_pt_insn,
H A Dintel-pt-log.c225 void __intel_pt_log_insn(struct intel_pt_insn *intel_pt_insn, uint64_t ip) argument
228 size_t len = intel_pt_insn->length;
235 intel_pt_print_data(intel_pt_insn->buf, len, ip, 8);
236 if (intel_pt_insn_desc(intel_pt_insn, desc, INTEL_PT_INSN_DESC_MAX) > 0)
242 void __intel_pt_log_insn_no_data(struct intel_pt_insn *intel_pt_insn, argument
251 if (intel_pt_insn_desc(intel_pt_insn, desc, INTEL_PT_INSN_DESC_MAX) > 0)
H A Dintel-pt-decoder.c119 int (*walk_insn)(struct intel_pt_insn *intel_pt_insn,
1118 struct intel_pt_insn intel_pt_insn; local
1136 err = decoder->walk_insn(&intel_pt_insn, &insn_cnt, &decoder->ip,
1142 if (intel_pt_insn.branch != INTEL_PT_BR_NO_BRANCH) {
1155 decoder->ip += intel_pt_insn.length;
1159 struct intel_pt_insn *intel_pt_insn, uint64_t ip)
1169 err = decoder->walk_insn(intel_pt_insn,
1158 intel_pt_walk_insn(struct intel_pt_decoder *decoder, struct intel_pt_insn *intel_pt_insn, uint64_t ip) argument
1410 intel_pt_fup_with_nlip(struct intel_pt_decoder *decoder, struct intel_pt_insn *intel_pt_insn, uint64_t ip, int err) argument
1421 struct intel_pt_insn intel_pt_insn; local
1464 struct intel_pt_insn intel_pt_insn; local
1629 struct intel_pt_insn intel_pt_insn; local
[all...]
H A Dintel-pt-decoder.h261 struct intel_pt_insn;
275 int (*walk_insn)(struct intel_pt_insn *intel_pt_insn,
/linux-master/tools/perf/arch/x86/tests/
H A Dinsn-x86.c102 struct intel_pt_insn intel_pt_insn; local
122 if (intel_pt_get_insn(dat->data, MAX_INSN_SIZE, x86_64, &intel_pt_insn)) {
127 if ((int)intel_pt_insn.op != op) {
129 intel_pt_insn.op, op, dat->asm_rep);
133 if ((int)intel_pt_insn.branch != branch) {
135 intel_pt_insn.branch, branch, dat->asm_rep);
139 if (intel_pt_insn.rel != dat->expected_rel) {
141 intel_pt_insn.rel, dat->expected_rel, dat->asm_rep);
/linux-master/tools/perf/util/
H A Dintel-bts.c76 struct intel_pt_insn intel_pt_insn; member in struct:intel_bts_queue
294 sample.insn_len = btsq->intel_pt_insn.length;
295 memcpy(sample.insn, btsq->intel_pt_insn.buf, INTEL_PT_INSN_BUF_SZ);
335 if (intel_pt_get_insn(buf, len, x86_64, &btsq->intel_pt_insn))
373 btsq->intel_pt_insn.length = 0;
377 btsq->intel_pt_insn.length = 0;
382 btsq->intel_pt_insn.length = 0;
390 btsq->sample_flags = intel_pt_insn_type(btsq->intel_pt_insn.op);
434 btsq->intel_pt_insn
[all...]
H A Dintel-pt.c616 struct intel_pt_insn *intel_pt_insn)
631 e->op = intel_pt_insn->op;
632 e->branch = intel_pt_insn->branch;
633 e->emulated_ptwrite = intel_pt_insn->emulated_ptwrite;
634 e->length = intel_pt_insn->length;
635 e->rel = intel_pt_insn->rel;
636 memcpy(e->insn, intel_pt_insn->buf, INTEL_PT_INSN_BUF_SZ);
724 static inline bool intel_pt_jmp_16(struct intel_pt_insn *intel_pt_insn) argument
614 intel_pt_cache_add(struct dso *dso, struct machine *machine, u64 offset, u64 insn_cnt, u64 byte_cnt, struct intel_pt_insn *intel_pt_insn) argument
746 intel_pt_walk_next_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) argument
931 *ip - start_ip, intel_pt_insn); local
[all...]

Completed in 143 milliseconds