/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-pkt-decoder.c | 78 struct intel_pt_pkt *packet) in intel_pt_get_long_tnt() argument 94 packet->type = INTEL_PT_TNT; in intel_pt_get_long_tnt() 95 packet->count = count; in intel_pt_get_long_tnt() 96 packet->payload = payload << 1; in intel_pt_get_long_tnt() 101 struct intel_pt_pkt *packet) in intel_pt_get_pip() argument 108 packet->type = INTEL_PT_PIP; in intel_pt_get_pip() 110 packet->payload = payload; in intel_pt_get_pip() 115 static int intel_pt_get_tracestop(struct intel_pt_pkt *packet) in intel_pt_get_tracestop() argument 117 packet->type = INTEL_PT_TRACESTOP; in intel_pt_get_tracestop() 122 struct intel_pt_pkt *packet) in intel_pt_get_cbr() argument [all …]
|
D | intel-pt-decoder.c | 183 struct intel_pt_pkt packet; member 514 static uint64_t intel_pt_calc_ip(const struct intel_pt_pkt *packet, in intel_pt_calc_ip() argument 519 switch (packet->count) { in intel_pt_calc_ip() 522 packet->payload; in intel_pt_calc_ip() 526 packet->payload; in intel_pt_calc_ip() 529 ip = packet->payload; in intel_pt_calc_ip() 536 packet->payload; in intel_pt_calc_ip() 539 ip = packet->payload; in intel_pt_calc_ip() 550 decoder->last_ip = intel_pt_calc_ip(&decoder->packet, decoder->last_ip); in intel_pt_set_last_ip() 562 intel_pt_log_packet(&decoder->packet, decoder->pkt_len, decoder->pos, in intel_pt_decoder_log_packet() [all …]
|
D | intel-pt-pkt-decoder.h | 84 struct intel_pt_pkt *packet, 87 void intel_pt_upd_pkt_ctx(const struct intel_pt_pkt *packet, 90 int intel_pt_pkt_desc(const struct intel_pt_pkt *packet, char *buf, size_t len);
|
D | intel-pt-log.h | 22 void __intel_pt_log_packet(const struct intel_pt_pkt *packet, int pkt_len,
|
D | intel-pt-log.c | 212 void __intel_pt_log_packet(const struct intel_pt_pkt *packet, int pkt_len, in __intel_pt_log_packet() argument 221 intel_pt_pkt_desc(packet, desc, INTEL_PT_PKT_DESC_MAX); in __intel_pt_log_packet()
|
/tools/perf/util/arm-spe-decoder/ |
D | arm-spe-pkt-decoder.c | 62 struct arm_spe_pkt *packet) in arm_spe_get_payload() argument 72 case 1: packet->payload = *(uint8_t *)buf; break; in arm_spe_get_payload() 73 case 2: packet->payload = le16_to_cpu(*(uint16_t *)buf); break; in arm_spe_get_payload() 74 case 4: packet->payload = le32_to_cpu(*(uint32_t *)buf); break; in arm_spe_get_payload() 75 case 8: packet->payload = le64_to_cpu(*(uint64_t *)buf); break; in arm_spe_get_payload() 82 static int arm_spe_get_pad(struct arm_spe_pkt *packet) in arm_spe_get_pad() argument 84 packet->type = ARM_SPE_PAD; in arm_spe_get_pad() 89 struct arm_spe_pkt *packet) in arm_spe_get_alignment() argument 96 packet->type = ARM_SPE_PAD; in arm_spe_get_alignment() 100 static int arm_spe_get_end(struct arm_spe_pkt *packet) in arm_spe_get_end() argument [all …]
|
D | arm-spe-decoder.c | 136 &decoder->packet); in arm_spe_get_next_packet() 146 } while (decoder->packet.type == ARM_SPE_PAD); in arm_spe_get_next_packet() 165 idx = decoder->packet.index; in arm_spe_read_record() 166 payload = decoder->packet.payload; in arm_spe_read_record() 168 switch (decoder->packet.type) { in arm_spe_read_record()
|
D | arm-spe-pkt-decoder.h | 156 struct arm_spe_pkt *packet); 158 int arm_spe_pkt_desc(const struct arm_spe_pkt *packet, char *buf, size_t len);
|
D | arm-spe-decoder.h | 106 struct arm_spe_pkt packet; member
|
/tools/perf/arch/x86/tests/ |
D | intel-pt-test.c | 29 struct intel_pt_pkt packet; member 189 static int dump_packet(const struct intel_pt_pkt *packet, const u8 *bytes, int len) in dump_packet() argument 199 ret = intel_pt_pkt_desc(packet, desc, INTEL_PT_PKT_DESC_MAX); in dump_packet() 213 dump_packet(&d->packet, d->bytes, d->len); in decoding_failed() 216 static int fail(const struct test_data *d, struct intel_pt_pkt *packet, int len, in fail() argument 225 if (packet->type != d->packet.type) in fail() 227 d->packet.type, packet->type); in fail() 229 if (packet->count != d->packet.count) in fail() 231 d->packet.count, packet->count); in fail() 233 if (packet->payload != d->packet.payload) in fail() [all …]
|
/tools/perf/util/ |
D | cs-etm.c | 96 struct cs_etm_packet *packet; member 481 tidq->packet = zalloc(sizeof(struct cs_etm_packet)); in cs_etm__init_traceid_queue() 482 if (!tidq->packet) in cs_etm__init_traceid_queue() 512 zfree(&tidq->packet); in cs_etm__init_traceid_queue() 621 tmp = tidq->packet; in cs_etm__packet_swap() 622 tidq->packet = tidq->prev_packet; in cs_etm__packet_swap() 807 zfree(&tidq->packet); in cs_etm__free_traceid_queues() 1241 static inline u64 cs_etm__first_executed_instr(struct cs_etm_packet *packet) in cs_etm__first_executed_instr() argument 1244 if (packet->sample_type == CS_ETM_DISCONTINUITY) in cs_etm__first_executed_instr() 1247 return packet->start_addr; in cs_etm__first_executed_instr() [all …]
|
D | arm-spe.c | 104 struct arm_spe_pkt packet; in arm_spe_dump() local 115 ret = arm_spe_get_packet(buf, len, &packet); in arm_spe_dump() 127 ret = arm_spe_pkt_desc(&packet, desc, in arm_spe_dump()
|
D | intel-pt.c | 234 struct intel_pt_pkt packet; in intel_pt_dump() local 246 ret = intel_pt_get_packet(buf, len, &packet, &ctx); in intel_pt_dump() 258 ret = intel_pt_pkt_desc(&packet, desc, in intel_pt_dump()
|
/tools/firewire/ |
D | nosy-dump.c | 34 static void decode_link_packet(struct link_packet *packet, size_t length, 139 sa = malloc(sizeof *sa - sizeof sa->packet + length); in subaction_create() 144 memcpy(&sa->packet, data, length); in subaction_create() 230 decode_link_packet(&t->request->packet, t->request->length, in handle_transaction() 233 decode_link_packet(&t->response->packet, t->request->length, in handle_transaction() 240 print_packet((uint32_t *) &sa->packet, sa->length); in handle_transaction() 242 print_packet((uint32_t *) &sa->packet, sa->length); in handle_transaction() 506 if (prev->packet.common.tcode != sa->packet.common.tcode || in handle_request_packet() 507 prev->packet.common.tlabel != sa->packet.common.tlabel) { in handle_request_packet() 572 if (prev->packet.common.tcode != sa->packet.common.tcode || in handle_response_packet() [all …]
|
D | decode-fcp.c | 148 (struct avc_frame *) t->request->packet.write_block.data; in decode_avc() 177 (struct avc_frame *) t->request->packet.write_block.data; in decode_fcp() 179 ((unsigned long long) t->request->packet.common.offset_high << 32) | in decode_fcp() 180 t->request->packet.common.offset_low; in decode_fcp() 182 if (t->request->packet.common.tcode != TCODE_WRITE_BLOCK_REQUEST) in decode_fcp()
|
D | nosy-dump.h | 162 struct link_packet packet; member
|
/tools/perf/util/cs-etm-decoder/ |
D | cs-etm-decoder.c | 97 struct cs_etm_packet *packet) in cs_etm_decoder__get_packet() argument 99 if (!packet_queue || !packet) in cs_etm_decoder__get_packet() 117 *packet = packet_queue->packet_buffer[packet_queue->head]; in cs_etm_decoder__get_packet() 437 struct cs_etm_packet *packet; in cs_etm_decoder__buffer_range() local 444 packet = &packet_queue->packet_buffer[packet_queue->tail]; in cs_etm_decoder__buffer_range() 448 packet->isa = CS_ETM_ISA_A64; in cs_etm_decoder__buffer_range() 451 packet->isa = CS_ETM_ISA_A32; in cs_etm_decoder__buffer_range() 454 packet->isa = CS_ETM_ISA_T32; in cs_etm_decoder__buffer_range() 461 packet->isa = CS_ETM_ISA_UNKNOWN; in cs_etm_decoder__buffer_range() 464 packet->start_addr = elem->st_addr; in cs_etm_decoder__buffer_range() [all …]
|
D | cs-etm-decoder.h | 106 struct cs_etm_packet *packet);
|
/tools/testing/selftests/net/ |
D | psock_tpacket.c | 377 char packet[1024]; in walk_tx() local 418 create_payload(packet, &packet_len); in walk_tx() 433 sizeof(struct sockaddr_ll), packet, in walk_tx() 443 sizeof(struct sockaddr_ll), packet, in walk_tx() 455 sizeof(struct sockaddr_ll), packet, in walk_tx() 481 while ((ret = recvfrom(rcv_sock, packet, sizeof(packet), in walk_tx() 485 test_payload(packet, ret); in walk_tx()
|
/tools/bpf/bpftool/Documentation/ |
D | bpftool-net.rst | 71 …**xdpgeneric** - Generic XDP. runs at generic XDP hook when packet already enters receive path as … 73 **xdpoffload** - Offload XDP. runs directly on NIC on each packet reception;
|
/tools/perf/Documentation/ |
D | perf-intel-pt.txt | 29 the trace data packets. For example a TNT packet only tells whether a 30 conditional branch was taken or not taken, so to make use of that packet the 180 presently sampled, so IPC values for them do not appear e.g. a CYC packet with a 181 TNT packet that starts with a non-taken branch. To see every possible IPC 322 noretcomp Always supported. Disables "return compression" so a TIP packet 330 The PSB packet is a synchronization packet that provides a 367 Because a TSC packet is produced with PSB, the PSB period can 375 clock (CTC) which is related to TSC packets using a TMA packet. 418 MTC and TSC packets. A CYC packet contains the number of CPU 419 cycles since the last CYC packet. Unlike MTC and TSC packets, [all …]
|
D | perf-top.txt | 318 broadcast packet arrives This will show a menu with two entries and 319 will start counting when a broadcast packet arrives:
|
/tools/testing/selftests/net/openvswitch/ |
D | ovs-dpctl.py | 1666 def __init__(self, packet=OvsPacket()): argument 1669 self.upcall_packet = packet
|
/tools/testing/selftests/net/mptcp/ |
D | mptcp_join.sh | 435 -m statistic --mode nth --packet 1 --every 99999 \
|