Home
last modified time | relevance | path

Searched refs:ctc (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/contrib/processor-trace/libipt/src/
H A Dpt_time.c99 if (ctc < last_ctc) in pt_time_ctc_delta()
143 time->ctc = 0; in pt_time_update_tsc()
196 ctc = packet->ctc; in pt_time_update_tma()
229 time->ctc = time->ctc_cyc = ctc & ctc_mask; in pt_time_update_tma()
263 ctc = (uint32_t) packet->ctc << mtc_freq; in pt_time_update_mtc()
272 time->ctc = ctc; in pt_time_update_mtc()
370 ctc = time->ctc; in pt_time_adjust_cyc()
633 ctc = (uint32_t) packet->ctc << config->mtc_freq; in pt_tcal_update_mtc()
638 tcal->ctc = ctc; in pt_tcal_update_mtc()
653 tcal->ctc = ctc; in pt_tcal_update_mtc()
[all …]
H A Dpt_encoder.c455 uint16_t ctc, fc; in pt_enc_next() local
461 ctc = packet->payload.tma.ctc; in pt_enc_next()
490 uint64_t ctc; in pt_enc_next() local
493 ctc <<= pt_opm_cyc_shr; in pt_enc_next()
496 byte[0] |= (uint8_t) ctc; in pt_enc_next()
500 if (ctc) in pt_enc_next()
508 ctc <<= pt_opm_cycx_shr; in pt_enc_next()
512 ctc >>= 8; in pt_enc_next()
513 if (ctc) in pt_enc_next()
866 packet.payload.tma.ctc = ctc; in pt_encode_tma()
[all …]
H A Dpt_packet.c346 uint16_t ctc, fc; in pt_pkt_read_tma() local
354 ctc = pos[pt_pl_tma_ctc_0]; in pt_pkt_read_tma()
355 ctc |= pos[pt_pl_tma_ctc_1] << 8; in pt_pkt_read_tma()
363 packet->ctc = ctc; in pt_pkt_read_tma()
378 packet->ctc = pos[pt_opcs_mtc]; in pt_pkt_read_mtc()
/freebsd-14.2/contrib/processor-trace/libipt/internal/include/
H A Dpt_encoder.h107 extern int pt_encode_tma(struct pt_encoder *, uint16_t ctc,
111 extern int pt_encode_mtc(struct pt_encoder *, uint8_t ctc);
H A Dpt_time.h54 uint32_t ctc; member
162 uint32_t ctc; member
/freebsd-14.2/cddl/contrib/opensolaris/common/ctf/
H A Dctf_create.c899 if (ctc == NULL || (ctc->ctc_flags & ~CTF_FUNC_VARARG) != 0 || in ctf_add_function()
903 vlen = ctc->ctc_argc; in ctf_add_function()
904 if (ctc->ctc_flags & CTF_FUNC_VARARG) in ctf_add_function()
915 for (i = 0; i < ctc->ctc_argc; i++) { in ctf_add_function()
933 ctf_ref_inc(fp, ctc->ctc_return); in ctf_add_function()
934 for (i = 0; i < ctc->ctc_argc; i++) in ctf_add_function()
938 if (ctc->ctc_flags & CTF_FUNC_VARARG) in ctf_add_function()
1414 ctf_funcinfo_t ctc; in ctf_add_type() local
1598 ctc.ctc_argc = 0; in ctf_add_type()
1599 ctc.ctc_flags = 0; in ctf_add_type()
[all …]
/freebsd-14.2/contrib/processor-trace/libipt/test/src/
H A Dptunit-time.c316 packet.ctc = 0xdc; in tma()
331 packet.ctc = 0xdc; in mtc()
H A Dptunit-packet.c336 pfix->packet[0].payload.tma.ctc = 0x42; in tma()
349 pfix->packet[0].payload.tma.ctc = 0x42; in tma_bad()
361 pfix->packet[0].payload.mtc.ctc = 0x23; in mtc()
/freebsd-14.2/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_open.c1044 ctf_funcinfo_t ctc; in dt_vopen() local
1497 ctc.ctc_return = ctf_lookup_by_name(dmp->dm_ctfp, "int"); in dt_vopen()
1498 ctc.ctc_argc = 0; in dt_vopen()
1499 ctc.ctc_flags = 0; in dt_vopen()
1502 CTF_ADD_ROOT, &ctc, NULL); in dt_vopen()
/freebsd-14.2/contrib/processor-trace/libipt/include/
H A Dintel-pt.h710 uint16_t ctc; member
719 uint8_t ctc; member
H A Dintel-pt.h.in710 uint16_t ctc; member
719 uint8_t ctc; member