Lines Matching refs:payload
76 uint64_t payload; in intel_pt_get_long_tnt() local
82 payload = get_unaligned_le64(buf); in intel_pt_get_long_tnt()
85 if (payload & BIT63) in intel_pt_get_long_tnt()
87 payload <<= 1; in intel_pt_get_long_tnt()
92 packet->payload = payload << 1; in intel_pt_get_long_tnt()
99 uint64_t payload = 0; in intel_pt_get_pip() local
105 memcpy_le64(&payload, buf + 2, 6); in intel_pt_get_pip()
106 packet->payload = payload; in intel_pt_get_pip()
123 packet->payload = get_unaligned_le16(buf + 2); in intel_pt_get_cbr()
135 memcpy_le64(&packet->payload, buf + 2, 5); in intel_pt_get_vmcs()
176 packet->payload = buf[2] | (buf[3] << 8); in intel_pt_get_tma()
193 packet->payload = get_unaligned_le64(buf + 3); in intel_pt_get_mnt()
222 packet->payload = get_unaligned_le32(buf + 2); in intel_pt_get_ptwrite()
227 packet->payload = get_unaligned_le64(buf + 2); in intel_pt_get_ptwrite()
252 packet->payload = get_unaligned_le64(buf + 2); in intel_pt_get_mwait()
262 memcpy_le64(&packet->payload, buf + 2, 2); in intel_pt_get_pwre()
272 memcpy_le64(&packet->payload, buf + 2, 5); in intel_pt_get_pwrx()
283 packet->payload = buf[2] & 0x1f; in intel_pt_get_bbp()
294 memcpy_le64(&packet->payload, buf + 1, 4); in intel_pt_get_bip_4()
305 packet->payload = get_unaligned_le64(buf + 1); in intel_pt_get_bip_8()
332 packet->payload = buf[3]; in intel_pt_get_cfe()
343 packet->payload = buf[3]; in intel_pt_get_evd()
344 packet->payload = get_unaligned_le64(buf + 3); in intel_pt_get_evd()
416 packet->payload = (uint64_t)byte << 57; in intel_pt_get_short_tnt()
425 uint64_t payload = byte >> 3; in intel_pt_get_cyc() local
435 payload |= ((uint64_t)byte >> 1) << shift; in intel_pt_get_cyc()
439 packet->payload = payload; in intel_pt_get_cyc()
459 packet->payload = get_unaligned_le16(buf + 1); in intel_pt_get_ip()
465 packet->payload = get_unaligned_le32(buf + 1); in intel_pt_get_ip()
472 memcpy_le64(&packet->payload, buf + 1, 6); in intel_pt_get_ip()
478 packet->payload = get_unaligned_le64(buf + 1); in intel_pt_get_ip()
501 packet->payload = 16; in intel_pt_get_mode()
504 packet->payload = 64; in intel_pt_get_mode()
507 packet->payload = 32; in intel_pt_get_mode()
517 packet->payload = buf[1] & 3; in intel_pt_get_mode()
532 memcpy_le64(&packet->payload, buf + 1, 7); in intel_pt_get_tsc()
542 packet->payload = buf[1]; in intel_pt_get_mtc()
682 unsigned long long payload = packet->payload; in intel_pt_pkt_desc() local
702 if (payload & BIT63) in intel_pt_pkt_desc()
710 payload <<= 1; in intel_pt_pkt_desc()
731 return snprintf(buf, buf_len, "%s 0x%llx", name, payload); in intel_pt_pkt_desc()
734 (unsigned)payload, packet->count); in intel_pt_pkt_desc()
737 name, !!(packet->count & 4), payload); in intel_pt_pkt_desc()
740 name, (unsigned)(payload >> 1) & 1, in intel_pt_pkt_desc()
741 (unsigned)payload & 1); in intel_pt_pkt_desc()
743 nr = packet->payload & INTEL_PT_VMX_NR_FLAG ? 1 : 0; in intel_pt_pkt_desc()
744 payload &= ~INTEL_PT_VMX_NR_FLAG; in intel_pt_pkt_desc()
746 name, payload >> 1, nr); in intel_pt_pkt_desc()
749 return snprintf(buf, buf_len, "%s 0x%llx IP:0", name, payload); in intel_pt_pkt_desc()
751 return snprintf(buf, buf_len, "%s 0x%llx IP:1", name, payload); in intel_pt_pkt_desc()
760 name, payload, (unsigned int)(payload & 0xff), in intel_pt_pkt_desc()
761 (unsigned int)((payload >> 32) & 0x3)); in intel_pt_pkt_desc()
764 name, payload, !!(payload & 0x80), in intel_pt_pkt_desc()
765 (unsigned int)((payload >> 12) & 0xf), in intel_pt_pkt_desc()
766 (unsigned int)((payload >> 8) & 0xf)); in intel_pt_pkt_desc()
769 name, payload, in intel_pt_pkt_desc()
770 (unsigned int)((payload >> 4) & 0xf), in intel_pt_pkt_desc()
771 (unsigned int)(payload & 0xf), in intel_pt_pkt_desc()
772 (unsigned int)((payload >> 8) & 0xf)); in intel_pt_pkt_desc()
775 name, packet->count ? "4" : "8", payload); in intel_pt_pkt_desc()
778 name, packet->count, payload); in intel_pt_pkt_desc()
782 name, packet->type == INTEL_PT_CFE_IP, packet->count, payload); in intel_pt_pkt_desc()
785 name, packet->count, payload); in intel_pt_pkt_desc()
790 name, payload, packet->count); in intel_pt_pkt_desc()