b1f7ae libipt-1.6.1 base

Merged and Committed by Packit 3 years ago
294 files changed. 61693 lines added. 0 lines removed.
.gitignore
file added
+6
CMakeLists.txt
file added
+263
LICENSE
file added
+24
README
file added
+75
doc/getting_started.md
file added
+93
doc/howto_build.md
file added
+191
doc/howto_capture.md
file added
+248
doc/howto_libipt.md
file added
+1025
doc/howto_pttc.md
file added
+246
doc/man/CMakeLists.txt
file added
+144
doc/man/pt_alloc_encoder.3.md
file added
+96
doc/man/pt_blk_alloc_decoder.3.md
file added
+98
doc/man/pt_blk_get_offset.3.md
file added
+82
doc/man/pt_blk_next.3.md
file added
+362
doc/man/pt_blk_sync_forward.3.md
file added
+144
doc/man/pt_config.3.md
file added
+318
doc/man/pt_enc_get_config.3.md
file added
+77
doc/man/pt_enc_get_offset.3.md
file added
+77
doc/man/pt_image_add_file.3.md
file added
+135
doc/man/pt_image_alloc.3.md
file added
+99
doc/man/pt_image_remove_by_filename.3.md
file added
+150
doc/man/pt_image_set_callback.3.md
file added
+103
doc/man/pt_insn_alloc_decoder.3.md
file added
+101
doc/man/pt_insn_get_image.3.md
file added
+93
doc/man/pt_insn_get_offset.3.md
file added
+82
doc/man/pt_insn_next.3.md
file added
+340
doc/man/pt_insn_sync_forward.3.md
file added
+145
doc/man/pt_iscache_add_file.3.md
file added
+98
doc/man/pt_iscache_alloc.3.md
file added
+102
doc/man/pt_iscache_read.3.md
file added
+89
doc/man/pt_library_version.3.md
file added
+72
doc/man/pt_packet.3.md
file added
+197
doc/man/pt_pkt_alloc_decoder.3.md
file added
+98
doc/man/pt_pkt_get_offset.3.md
file added
+81
doc/man/pt_pkt_sync_forward.3.md
file added
+115
doc/man/pt_qry_alloc_decoder.3.md
file added
+113
doc/man/pt_qry_cond_branch.3.md
file added
+152
doc/man/pt_qry_event.3.md
file added
+254
doc/man/pt_qry_get_offset.3.md
file added
+83
doc/man/pt_qry_sync_forward.3.md
file added
+152
doc/man/pt_qry_time.3.md
file added
+138
include/posix/threads.h
file added
+259
include/windows/inttypes.h
file added
+65
include/windows/threads.h
file added
+239
libipt/CMakeLists.txt
file added
+171
libipt/include/intel-pt.h.in
file added
+2394
libipt/internal/include/posix/pt_section_posix.h
file added
+88
libipt/internal/include/pt_asid.h
file added
+61
libipt/internal/include/pt_block_cache.h
file added
+225
libipt/internal/include/pt_block_decoder.h
file added
+143
libipt/internal/include/pt_config.h
file added
+44
libipt/internal/include/pt_cpu.h
file added
+54
libipt/internal/include/pt_cpuid.h
file added
+40
libipt/internal/include/pt_decoder_function.h
file added
+124
libipt/internal/include/pt_encoder.h
file added
+125
libipt/internal/include/pt_event_queue.h
file added
+143
libipt/internal/include/pt_ild.h
file added
+128
libipt/internal/include/pt_image.h
file added
+152
libipt/internal/include/pt_image_section_cache.h
file added
+151
libipt/internal/include/pt_insn.h
file added
+203
libipt/internal/include/pt_insn_decoder.h
file added
+120
libipt/internal/include/pt_last_ip.h
file added
+79
libipt/internal/include/pt_mapped_section.h
file added
+132
libipt/internal/include/pt_packet.h
file added
+95
libipt/internal/include/pt_packet_decoder.h
file added
+87
libipt/internal/include/pt_query_decoder.h
file added
+125
libipt/internal/include/pt_retstack.h
file added
+87
libipt/internal/include/pt_section.h
file added
+298
libipt/internal/include/pt_section_file.h
file added
+94
libipt/internal/include/pt_sync.h
file added
+71
libipt/internal/include/pt_time.h
file added
+232
libipt/internal/include/pt_tnt_cache.h
file added
+88
libipt/internal/include/pti-disp-defs.h
file added
+39
libipt/internal/include/pti-disp.h
file added
+544
libipt/internal/include/pti-imm-defs.h
file added
+46
libipt/internal/include/pti-imm.h
file added
+544
libipt/internal/include/pti-modrm-defs.h
file added
+38
libipt/internal/include/pti-modrm.h
file added
+544
libipt/internal/include/windows/pt_section_windows.h
file added
+99
libipt/src/posix/init.c
file added
+36
libipt/src/posix/pt_cpuid.c
file added
+37
libipt/src/posix/pt_section_posix.c
file added
+267
libipt/src/pt_asid.c
file added
+83
libipt/src/pt_block_cache.c
file added
+96
libipt/src/pt_block_decoder.c
file added
+2961
libipt/src/pt_config.c
file added
+108
libipt/src/pt_cpu.c
file added
+163
libipt/src/pt_decoder_function.c
file added
+320
libipt/src/pt_encoder.c
file added
+799
libipt/src/pt_error.c
file added
+113
libipt/src/pt_event_queue.c
file added
+203
libipt/src/pt_ild.c
file added
+1212
libipt/src/pt_image.c
file added
+974
libipt/src/pt_image_section_cache.c
file added
+532
libipt/src/pt_insn.c
file added
+349
libipt/src/pt_insn_decoder.c
file added
+1342
libipt/src/pt_last_ip.c
file added
+127
libipt/src/pt_packet.c
file added
+460
libipt/src/pt_packet_decoder.c
file added
+626
libipt/src/pt_query_decoder.c
file added
+2525
libipt/src/pt_retstack.c
file added
+94
libipt/src/pt_section.c
file added
+348
libipt/src/pt_section_file.c
file added
+238
libipt/src/pt_sync.c
file added
+240
libipt/src/pt_time.c
file added
+673
libipt/src/pt_tnt_cache.c
file added
+89
libipt/src/pt_version.c
file added
+43
libipt/src/windows/init.c
file added
+51
libipt/src/windows/pt_cpuid.c
file added
+43
libipt/src/windows/pt_section_windows.c
file added
+343
libipt/test/src/ptunit-asid.c
file added
+314
libipt/test/src/ptunit-block_cache.c
file added
+371
libipt/test/src/ptunit-config.c
file added
+187
libipt/test/src/ptunit-cpp.cpp
file added
+79
libipt/test/src/ptunit-cpu.c
file added
+173
libipt/test/src/ptunit-event_queue.c
file added
+471
libipt/test/src/ptunit-fetch.c
file added
+596
libipt/test/src/ptunit-ild.c
file added
+716
libipt/test/src/ptunit-image.c
file added
+2239
libipt/test/src/ptunit-image_section_cache.c
file added
+1153
libipt/test/src/ptunit-last_ip.c
file added
+375
libipt/test/src/ptunit-mapped_section.c
file added
+191
libipt/test/src/ptunit-packet.c
file added
+741
libipt/test/src/ptunit-query.c
file added
+2846
libipt/test/src/ptunit-retstack.c
file added
+233
libipt/test/src/ptunit-section-file.c
file added
+171
libipt/test/src/ptunit-section.c
file added
+1029
libipt/test/src/ptunit-sync.c
file added
+306
libipt/test/src/ptunit-time.c
file added
+369
libipt/test/src/ptunit-tnt_cache.c
file added
+247
ptdump/CMakeLists.txt
file added
+51
ptdump/src/ptdump.c
file added
+1533
pttc/CMakeLists.txt
file added
+64
pttc/include/errcode.h
file added
+98
pttc/include/file.h
file added
+143
pttc/include/parse.h
file added
+168
pttc/include/pttc.h
file added
+49
pttc/include/util.h
file added
+124
pttc/include/yasm.h
file added
+248
pttc/src/errcode.c
file added
+78
pttc/src/file.c
file added
+313
pttc/src/main.c
file added
+137
pttc/src/parse.c
file added
+1102
pttc/src/posix/util.c
file added
+67
pttc/src/pttc.c
file added
+59
pttc/src/util.c
file added
+240
pttc/src/windows/util.c
file added
+137
pttc/src/yasm.c
file added
+835
pttc/test/src/test_all_directives.ptt
file added
+58
pttc/test/src/test_exp_labels.ptt
file added
+58
pttc/test/src/test_label_addr.ptt
file added
+31
ptunit/CMakeLists.txt
file added
+43
ptunit/include/ptunit.h
file added
+459
ptunit/include/ptunit_mkfile.h
file added
+48
ptunit/include/ptunit_threads.h
file added
+158
ptunit/src/posix/ptunit_mkfile.c
file added
+81
ptunit/src/ptunit.c
file added
+340
ptunit/src/windows/ptunit_mkfile.c
file added
+72
ptunit/test/src/ptunit-selftest.c
file added
+470
ptxed/CMakeLists.txt
file added
+80
ptxed/include/load_elf.h
file added
+64
ptxed/src/load_elf.c
file added
+352
ptxed/src/ptxed.c
file added
+1822
script/perf-read-aux.bash
file added
+110
script/perf-read-image.bash
file added
+84
script/test.bash
file added
+246
test/CMakeLists.txt
file added
+59
test/src/bdm64-tip-xabort.ptt
file added
+97
test/src/bdm64-tnt-cond-xabort.ptt
file added
+107
test/src/bdm64-tnt-ind_call-xabort.ptt
file added
+107
test/src/bdm70-psb_fup-tip_pge.ptt
file added
+77
test/src/bdm70-tip_pgd-psb_fup-tip_pge.ptt
file added
+95
test/src/call_direct-ret_compressed-pic.ptt
file added
+68
test/src/call_direct-ret_compressed.ptt
file added
+62
test/src/call_direct-ret_uncompressed.ptt
file added
+61
test/src/call_indirect-ret_compressed.ptt
file added
+63
test/src/call_indirect-ret_uncompressed.ptt
file added
+63
test/src/call_indirect_deferred-ret_compressed.ptt
file added
+65
test/src/cbr-cyc.ptt
file added
+55
test/src/cbr-mtc-cyc-mtc.ptt
file added
+54
test/src/cbr-tsc-cyc-tma.ptt
file added
+57
test/src/cbr-tsc-tma-mtc-cyc.ptt
file added
+56
test/src/direct_call-tip_pgd_noip-syscall.ptt
file added
+60
test/src/direct_jump-tip_pgd_noip-far_call.ptt
file added
+61
test/src/dump-all-packets.ptt
file added
+123
test/src/fup-pip-vmcs-tip.ptt
file added
+69
test/src/fup-tip-eos.ptt
file added
+58
test/src/fup-tip-fup-tip_pgd.ptt
file added
+67
test/src/fup-tip.ptt
file added
+70
test/src/fup-tip_pgd-tip_pge.ptt
file added
+62
test/src/fup-tip_pgd-tip_pge_other_ip.ptt
file added
+66
test/src/fup-tip_pgd.ptt
file added
+56
test/src/fup-tip_pgd_noip.ptt
file added
+56
test/src/int-iret-cpl_0.ptt
file added
+63
test/src/int-iret-cpl_3.ptt
file added
+94
test/src/int-iret.ptt
file added
+96
test/src/linear-fup-tip_pgd.ptt
file added
+59
test/src/linear-tip.ptt
file added
+65
test/src/loop-tnt-64.ptt
file added
+193
test/src/loop-tnt-tnt.ptt
file added
+90
test/src/loop-tnt.ptt
file added
+70
test/src/mode_exec-tip.ptt
file added
+66
test/src/mtc-cyc_calibrate.ptt
file added
+56
test/src/mtc.ptt
file added
+50
test/src/ovf-fup.ptt
file added
+64
test/src/ovf-timing-fup.ptt
file added
+76
test/src/ovf-timing-tip_pge.ptt
file added
+79
test/src/ovf-tip_pge.ptt
file added
+67
test/src/pip-far_call.ptt
file added
+67
test/src/pip-pip_mov_cr3-fail.ptt
file added
+60
test/src/pip_mov_cr3-pip_mov_cr3.ptt
file added
+64
test/src/psb-empty.ptt
file added
+45
test/src/psb-fup-tip_pgd.ptt
file added
+53
test/src/psb-ovf-fup.ptt
file added
+61
test/src/psb-ovf-tip_pge.ptt
file added
+65
test/src/psb-pip-psb.ptt
file added
+55
test/src/psb-pip-tip_pge.ptt
file added
+61
test/src/psb-psb.ptt
file added
+64
test/src/psb-stop.ptt
file added
+46
test/src/psb-tip_pgd-stop.ptt
file added
+52
test/src/psb-tnt-psb.ptt
file added
+69
test/src/psb-tsx.ptt
file added
+57
test/src/psb-vmcs.ptt
file added
+46
test/src/psb_nofup-psb.ptt
file added
+61
test/src/ptdump-exec-mode.ptt
file added
+46
test/src/ptdump-last-ip.ptt
file added
+55
test/src/ptdump-no-offset-raw.ptt
file added
+45
test/src/ptdump-no-offset.ptt
file added
+45
test/src/ptxed-block-stat.ptt
file added
+63
test/src/ptxed-block-stat_blocks.ptt
file added
+62
test/src/ptxed-end_on_call-fup-tip_pgd.ptt
file added
+66
test/src/ptxed-end_on_call-ret_tip.ptt
file added
+82
test/src/ptxed-end_on_call-ret_tnt.ptt
file added
+72
test/src/ptxed-end_on_call-tip_pgd.ptt
file added
+65
test/src/ptxed-insn-stat.ptt
file added
+63
test/src/ptxed-stat_insn.ptt
file added
+63
test/src/ret_near_far.ptt
file added
+361
test/src/skd007.ptt
file added
+79
test/src/skd010-mode_tsx-fup.ptt
file added
+73
test/src/skd010-psb.ptt
file added
+77
test/src/skd010-tip.ptt
file added
+71
test/src/skd010-tip_pgd.ptt
file added
+82
test/src/skd022.ptt
file added
+79
test/src/syscall-sysret-cpl_0.ptt
file added
+63
test/src/syscall-sysret-cpl_3.ptt
file added
+71
test/src/syscall-sysret.ptt
file added
+71
test/src/sysenter-sysexit-cpl_0.ptt
file added
+63
test/src/sysenter-sysexit-cpl_3.ptt
file added
+71
test/src/sysenter-sysexit.ptt
file added
+71
test/src/tip-eos.ptt
file added
+55
test/src/tip_pgd-direct_call.ptt
file added
+58
test/src/tip_pgd-direct_jump.ptt
file added
+58
test/src/tip_pgd-indirect_call.ptt
file added
+58
test/src/tip_pgd-indirect_jump.ptt
file added
+58
test/src/tip_pgd-pip-tip_pge.ptt
file added
+70
test/src/tip_pgd-psb-stop.ptt
file added
+64
test/src/tip_pgd-stop.ptt
file added
+59
test/src/tip_pgd-tnt_not_taken.ptt
file added
+61
test/src/tip_pgd-tnt_taken.ptt
file added
+61
test/src/tip_pgd-tsx.ptt
file added
+76
test/src/tip_pgd_noip-far_jump.ptt
file added
+54
test/src/tip_pgd_noip-mov_cr3.ptt
file added
+54
test/src/tip_pge-fup-tip_pgd-tip_pge.ptt
file added
+64
test/src/tip_pge-fup-tip_pgd.ptt
file added
+56
test/src/tnt-tip_pgd_noip-sysret.ptt
file added
+64
test/src/tnt_n-eos.ptt
file added
+55
test/src/tnt_t-eos.ptt
file added
+55
test/src/truncated.ptt
file added
+63
test/src/tsc-cbr-cyc-tsc.ptt
file added
+57
test/src/tsc-cyc_calibrate.ptt
file added
+69
test/src/tsc-mtc-tma-mtc.ptt
file added
+52
test/src/tsc-tma-cbr-cyc-mtc.ptt
file added
+57
test/src/tsc-tma-cbr-cyc.ptt
file added
+55
test/src/tsc-tma-cbr-mtc-cyc-mtc.ptt
file added
+58
test/src/tsc-tma-cbr-mtc-cyc-no_cyc.ptt
file added
+56
test/src/tsc-tma-cbr-mtc-cyc-tsc.ptt
file added
+58
test/src/tsc-tma-cbr-mtc-cyc.ptt
file added
+56
test/src/tsc-tma-cbr-mtc-cyc_calibrate.ptt
file added
+60
test/src/tsc-tma-cbr-mtc-mtc-cyc.ptt
file added
+63
test/src/tsc-tma-cyc.ptt
file added
+52
test/src/tsc-tma-mtc-cyc_calibrate.ptt
file added
+60
test/src/tsc-tma-mtc-mtc-cyc_calibrate.ptt
file added
+63
test/src/tsc-tma-mtc-tsc.ptt
file added
+54
test/src/tsc-tma-mtc_absolute.ptt
file added
+52
test/src/tsc-tma-mtc_infreq.ptt
file added
+55
test/src/tsc-tma-mtc_infreq_wrap.ptt
file added
+55
test/src/tsc-tma-mtc_relative.ptt
file added
+52
test/src/tsc-tma-mtc_wrap.ptt
file added
+52
test/src/tsc-tma_zero_fc-cbr-cyc.ptt
file added
+56
test/src/tsc_tma_mtc_gap.ptt
file added
+52
test/src/tsx-abort.ptt
file added
+75
test/src/tsx-commit.ptt
file added
+70
test/src/tsx-no_spurious_commit.ptt
file added
+71
test/src/vmcs-far_call.ptt
file added
+67
    libipt-1.6.1 base
    
        
file added
+6
file added
+263
file added
+24
file added
+75
file added
+191
file added
+248
file added
+1025
file added
+246
file added
+144
file added
+318
file added
+197
file added
+171
file added
+83
file added
+108
file added
+163
file added
+113
file added
+1212
file added
+974
file added
+349
file added
+460
file added
+240
file added
+673
file added
+1533
file added
+64
file added
+143
file added
+168
file added
+49
file added
+124
file added
+248
file added
+78
file added
+313
file added
+137
file added
+1102
file added
+59
file added
+240
file added
+835
file added
+340
file added
+80
file added
+352
file added
+1822
file added
+246
file added
+59
file added
+55
file added
+70
file added
+50
file added
+64
file added
+64
file added
+57
file added
+79
file added
+79
file added
+55