Lines Matching defs:buf
184 int intel_pt_get_insn(const unsigned char *buf, size_t len, int x86_64,
190 ret = insn_decode(&insn, buf, len,
197 memcpy(intel_pt_insn->buf, buf, insn.length);
199 memcpy(intel_pt_insn->buf, buf, INTEL_PT_INSN_BUF_SZ);
203 int arch_is_branch(const unsigned char *buf, size_t len, int x86_64)
206 if (intel_pt_get_insn(buf, len, x86_64, &in) < 0)
256 int intel_pt_insn_desc(const struct intel_pt_insn *intel_pt_insn, char *buf,
262 return snprintf(buf, buf_len, "%s %s%d",
268 return snprintf(buf, buf_len, "%s",