Home
last modified time | relevance | path

Searched refs:tfix (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/contrib/processor-trace/libipt/test/src/
H A Dptunit-time.c55 memset(&tfix->config, 0, sizeof(tfix->config)); in tfix_init()
56 tfix->config.size = sizeof(tfix->config); in tfix_init()
78 errcode = pt_time_update_tsc(&tfix->time, NULL, &tfix->config); in tsc_null()
92 errcode = pt_time_update_cbr(&tfix->time, NULL, &tfix->config); in cbr_null()
106 errcode = pt_time_update_tma(&tfix->time, NULL, &tfix->config); in tma_null()
123 errcode = pt_time_update_mtc(&tfix->time, NULL, &tfix->config); in mtc_null()
234 errcode = pt_tcal_update_mtc(&tfix->tcal, NULL, &tfix->config); in tcal_mtc_null()
251 errcode = pt_tcal_update_cyc(&tfix->tcal, NULL, &tfix->config); in tcal_cyc_null()
266 errcode = pt_time_update_tsc(&tfix->time, &packet, &tfix->config); in tsc()
287 errcode = pt_time_update_cbr(&tfix->time, &packet, &tfix->config); in cbr()
[all …]
H A Dptunit-msec_cache.c272 status = pt_msec_cache_read(&tfix->mcache, &msec, &tfix->image, 0ull); in read_nomap()
285 status = pt_msec_cache_read(&tfix->mcache, &msec, &tfix->image, 0ull); in read()
305 status = pt_msec_cache_fill(&tfix->mcache, &msec, &tfix->image, &asid, in fill_nomap()
326 status = pt_msec_cache_fill(&tfix->mcache, &msec, &tfix->image, &asid, in fill()
343 memset(&tfix->section, 0, sizeof(tfix->section)); in sfix_init()
344 memset(&tfix->mcache, 0, sizeof(tfix->mcache)); in sfix_init()
345 memset(&tfix->image, 0, sizeof(tfix->image)); in sfix_init()
354 tfix->image.section = &tfix->section; in ifix_init()
363 tfix->mcache.msec.section = &tfix->section; in cfix_init()
365 tfix->section.ucount = 1; in cfix_init()
[all …]
H A Dptunit-encoder.c58 config = &tfix->config; in tfix_init()
59 buffer = tfix->buffer; in tfix_init()
61 memset(buffer, 0, sizeof(tfix->buffer)); in tfix_init()
65 config->end = buffer + sizeof(tfix->buffer); in tfix_init()
126 errcode = pt_enc_sync_set(&tfix->encoder, sizeof(tfix->buffer) + 1); in sync_set_eos()
211 struct test_fixture tfix; in main() local
214 tfix.init = tfix_init; in main()
215 tfix.fini = NULL; in main()
225 ptu_run_f(suite, sync_set_eos, tfix); in main()
228 ptu_run_f(suite, get_offset_init, tfix); in main()
[all …]
H A Dptunit-packet_decoder.c58 config = &tfix->config; in tfix_init()
59 buffer = tfix->buffer; in tfix_init()
61 memset(buffer, 0, sizeof(tfix->buffer)); in tfix_init()
65 config->end = buffer + sizeof(tfix->buffer); in tfix_init()
146 errcode = pt_pkt_sync_set(&tfix->decoder, sizeof(tfix->buffer) + 1); in sync_set_eos()
245 struct test_fixture tfix; in main() local
248 tfix.init = tfix_init; in main()
249 tfix.fini = NULL; in main()
261 ptu_run_f(suite, sync_set_eos, tfix); in main()
264 ptu_run_f(suite, get_offset_init, tfix); in main()
[all …]
H A Dptunit-block_decoder.c58 config = &tfix->config; in tfix_init()
59 buffer = tfix->buffer; in tfix_init()
61 memset(buffer, 0, sizeof(tfix->buffer)); in tfix_init()
65 config->end = buffer + sizeof(tfix->buffer); in tfix_init()
146 errcode = pt_blk_sync_set(&tfix->decoder, sizeof(tfix->buffer) + 1); in sync_set_eos()
315 struct test_fixture tfix; in main() local
318 tfix.init = tfix_init; in main()
319 tfix.fini = NULL; in main()
331 ptu_run_f(suite, sync_set_eos, tfix); in main()
334 ptu_run_f(suite, get_offset_init, tfix); in main()
[all …]
H A Dptunit-insn_decoder.c58 config = &tfix->config; in tfix_init()
59 buffer = tfix->buffer; in tfix_init()
61 memset(buffer, 0, sizeof(tfix->buffer)); in tfix_init()
65 config->end = buffer + sizeof(tfix->buffer); in tfix_init()
146 errcode = pt_insn_sync_set(&tfix->decoder, sizeof(tfix->buffer) + 1); in sync_set_eos()
315 struct test_fixture tfix; in main() local
318 tfix.init = tfix_init; in main()
319 tfix.fini = NULL; in main()
331 ptu_run_f(suite, sync_set_eos, tfix); in main()
334 ptu_run_f(suite, get_offset_init, tfix); in main()
[all …]