Lines Matching full:packet
54 /* Read the payload of an Intel PT packet.
56 * Reads the payload of the packet starting at @pos into @packet.
58 * For pt_pkt_read_psb(), the @packet parameter is omitted; the function
61 * Decoding an unknown packet uses @config's decode callback. If the callback
64 * Beware that the packet opcode is not checked. The caller is responsible
65 * for checking the opcode and calling the correct packet read function.
67 * Returns the packet size on success, a negative error code otherwise.
68 * Returns -pte_bad_packet if the packet payload is corrupt.
69 * Returns -pte_eos if the packet does not fit into the trace buffer.
70 * Returns -pte_internal if @packet, @pos, or @config is NULL.
72 extern int pt_pkt_read_unknown(struct pt_packet *packet, const uint8_t *pos,
75 extern int pt_pkt_read_ip(struct pt_packet_ip *packet, const uint8_t *pos,
77 extern int pt_pkt_read_tnt_8(struct pt_packet_tnt *packet, const uint8_t *pos,
79 extern int pt_pkt_read_tnt_64(struct pt_packet_tnt *packet, const uint8_t *pos,
81 extern int pt_pkt_read_pip(struct pt_packet_pip *packet, const uint8_t *pos,
83 extern int pt_pkt_read_mode(struct pt_packet_mode *packet, const uint8_t *pos,
85 extern int pt_pkt_read_tsc(struct pt_packet_tsc *packet, const uint8_t *pos,
87 extern int pt_pkt_read_cbr(struct pt_packet_cbr *packet, const uint8_t *pos,
89 extern int pt_pkt_read_tma(struct pt_packet_tma *packet, const uint8_t *pos,
91 extern int pt_pkt_read_mtc(struct pt_packet_mtc *packet, const uint8_t *pos,
93 extern int pt_pkt_read_cyc(struct pt_packet_cyc *packet, const uint8_t *pos,
95 extern int pt_pkt_read_vmcs(struct pt_packet_vmcs *packet, const uint8_t *pos,
97 extern int pt_pkt_read_mnt(struct pt_packet_mnt *packet, const uint8_t *pos,
99 extern int pt_pkt_read_exstop(struct pt_packet_exstop *packet,
102 extern int pt_pkt_read_mwait(struct pt_packet_mwait *packet, const uint8_t *pos,
104 extern int pt_pkt_read_pwre(struct pt_packet_pwre *packet, const uint8_t *pos,
106 extern int pt_pkt_read_pwrx(struct pt_packet_pwrx *packet, const uint8_t *pos,
108 extern int pt_pkt_read_ptw(struct pt_packet_ptw *packet, const uint8_t *pos,