Date: Thu, 10 Oct 2019 12:20:25 +0000 (UTC) From: Ruslan Bukin <br@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r353389 - in vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b: . doc doc/man include include/posix include/windows libipt libipt/include libipt/internal libipt/internal/i... Message-ID: <201910101220.x9ACKPKb076987@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: br Date: Thu Oct 10 12:20:25 2019 New Revision: 353389 URL: https://svnweb.freebsd.org/changeset/base/353389 Log: Import Intel Processor Trace library. Git ID 892e12c5a27bda5806d1e63269986bb4171b5a8b Sponsored by: DARPA, AFRL Added: vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/.gitignore vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/CMakeLists.txt (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/CONTRIBUTING vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/LICENSE vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/README vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/getting_started.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/howto_build.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/howto_capture.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/howto_libipt.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/howto_pttc.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/CMakeLists.txt (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_alloc_encoder.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_blk_alloc_decoder.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_blk_get_offset.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_blk_next.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_blk_sync_forward.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_config.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_enc_get_config.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_enc_get_offset.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_image_add_file.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_image_alloc.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_image_remove_by_filename.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_image_set_callback.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_insn_alloc_decoder.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_insn_get_image.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_insn_get_offset.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_insn_next.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_insn_sync_forward.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_iscache_add_file.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_iscache_alloc.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_iscache_read.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_iscache_set_limit.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_library_version.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_packet.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_pkt_alloc_decoder.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_pkt_get_offset.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_pkt_sync_forward.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_qry_alloc_decoder.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_qry_cond_branch.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_qry_event.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_qry_get_offset.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_qry_sync_forward.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/man/pt_qry_time.3.md vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/include/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/include/posix/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/include/posix/threads.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/include/pt_compiler.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/include/pt_version.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/include/windows/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/include/windows/inttypes.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/include/windows/threads.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/CMakeLists.txt (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/include/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/include/intel-pt.h.in (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/posix/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/posix/pt_section_posix.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_asid.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_block_cache.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_block_decoder.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_config.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_cpu.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_cpuid.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_decoder_function.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_encoder.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_event_queue.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_ild.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_image.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_image_section_cache.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_insn.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_insn_decoder.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_last_ip.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_mapped_section.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_msec_cache.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_opcodes.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_packet.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_packet_decoder.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_query_decoder.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_retstack.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_section.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_section_file.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_sync.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_time.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pt_tnt_cache.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pti-disp-defs.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pti-disp.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pti-disp_default.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pti-imm-defs.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pti-imm.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pti-modrm-defs.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pti-modrm.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/pti-sib.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/windows/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/internal/include/windows/pt_section_windows.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/posix/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/posix/pt_cpuid.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/posix/pt_section_posix.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_asid.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_block_cache.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_block_decoder.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_config.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_cpu.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_decoder_function.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_encoder.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_error.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_event_queue.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_ild.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_image.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_image_section_cache.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_insn.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_insn_decoder.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_last_ip.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_msec_cache.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_packet.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_packet_decoder.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_query_decoder.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_retstack.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_section.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_section_file.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_sync.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_time.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_tnt_cache.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/pt_version.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/windows/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/windows/pt_cpuid.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/src/windows/pt_section_windows.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-asid.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-block_cache.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-block_decoder.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-config.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-cpp.cpp (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-cpu.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-encoder.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-event_queue.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-fetch.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-ild.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-image.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-image_section_cache.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-insn_decoder.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-last_ip.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-mapped_section.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-msec_cache.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-packet.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-packet_decoder.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-query.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-retstack.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-section-file.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-section.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-sync.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-time.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/libipt/test/src/ptunit-tnt_cache.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pevent/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pevent/CMakeLists.txt (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pevent/include/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pevent/include/pevent.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pevent/src/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pevent/src/pevent.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pevent/test/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pevent/test/src/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pevent/test/src/ptunit-pevent.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptdump/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptdump/CMakeLists.txt (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptdump/src/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptdump/src/ptdump.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptseg/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptseg/CMakeLists.txt (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptseg/src/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptseg/src/ptseg.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/CMakeLists.txt (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/include/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/include/errcode.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/include/file.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/include/parse.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/include/pttc.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/include/util.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/include/yasm.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/src/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/src/errcode.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/src/file.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/src/main.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/src/parse.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/src/posix/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/src/posix/util.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/src/pttc.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/src/util.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/src/windows/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/src/windows/util.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/src/yasm.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/test/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/test/src/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/test/src/test_all_directives.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/test/src/test_exp_labels.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/pttc/test/src/test_label_addr.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptunit/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptunit/CMakeLists.txt (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptunit/include/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptunit/include/ptunit.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptunit/include/ptunit_mkfile.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptunit/include/ptunit_threads.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptunit/src/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptunit/src/posix/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptunit/src/posix/ptunit_mkfile.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptunit/src/ptunit.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptunit/src/windows/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptunit/src/windows/ptunit_mkfile.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptunit/test/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptunit/test/src/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptunit/test/src/ptunit-selftest.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptxed/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptxed/CMakeLists.txt (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptxed/include/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptxed/include/load_elf.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptxed/src/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptxed/src/load_elf.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/ptxed/src/ptxed.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/script/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/script/perf-copy-mapped-files.bash (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/script/perf-get-opts.bash (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/script/perf-read-aux.bash (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/script/perf-read-sideband.bash (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/script/test.bash (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/sideband/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/sideband/CMakeLists.txt (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/sideband/include/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/sideband/include/libipt-sb.h.in (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/sideband/internal/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/sideband/internal/include/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/sideband/internal/include/pt_sb_context.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/sideband/internal/include/pt_sb_decoder.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/sideband/internal/include/pt_sb_file.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/sideband/internal/include/pt_sb_pevent.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/sideband/internal/include/pt_sb_session.h (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/sideband/src/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/sideband/src/pt_sb_context.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/sideband/src/pt_sb_file.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/sideband/src/pt_sb_pevent.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/sideband/src/pt_sb_session.c (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/CMakeLists.txt (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/pevent/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/pevent/CMakeLists.txt (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/pevent/src/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/pevent/src/pevent-comm_exec-mmap-tsc-iret.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/pevent/src/pevent-dump.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/pevent/src/pevent-dump_verbose.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/pevent/src/pevent-fork.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/pevent/src/pevent-mmap-tip_cached.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/pevent/src/pevent-mmap_secondary-tsc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/pevent/src/pevent-split.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/pevent/src/pevent-tip_pgd-comm_exec-mmap-tsc-tip_pge.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/pevent/src/pevent-tip_pgd-mmap-tsc-tip_pge.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/pevent/src/pevent-tip_pgd-switch-tsc-tip_pge.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/pevent/src/pevent-tip_pgd-switch_cpu_wide-tsc-tip_pge.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/pevent/src/pevent-warn.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/apl11.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/apl12-psb.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/apl12-tip_pge.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/bad_cpu.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/bdm64-tip-xabort.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/bdm64-tnt-cond-xabort.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/bdm64-tnt-ind_call-xabort.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/bdm70-psb_fup-tip_pge.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/bdm70-tip_pgd-psb_fup-tip_pge.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/call_direct-ret_compressed-pic.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/call_direct-ret_compressed.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/call_direct-ret_uncompressed.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/call_indirect-ret_compressed.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/call_indirect-ret_uncompressed.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/call_indirect_deferred-ret_compressed.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/cbr-cyc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/cbr-mtc-cyc-mtc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/cbr-tsc-cyc-tma.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/cbr-tsc-tma-mtc-cyc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/direct_call-tip_pgd_noip-syscall.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/direct_jump-tip_pgd_noip-far_call.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/dump-all-packets.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/exstop_ip-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/fup-pip-vmcs-tip.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/fup-pip-vmcs-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/fup-tip-eos.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/fup-tip-fup-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/fup-tip.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/fup-tip_pgd-stop.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/fup-tip_pgd-tip_pge.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/fup-tip_pgd-tip_pge_other_ip.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/fup-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/fup-tip_pgd_noip.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/int-iret-cpl_0.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/int-iret-cpl_3.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/int-iret.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/linear-fup-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/linear-tip.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/loop-tnt-64.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/loop-tnt-tnt.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/loop-tnt.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/mode_exec-tip.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/mtc-cyc_calibrate.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/mtc-ovf_keep-cyc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/mtc-ovf_reset-cyc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/mtc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/mwait-pwre-exstop_ip-fup-ovf.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/mwait-pwre-exstop_ip-ovf.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/mwait-pwre-exstop_ip-pwrx.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ovf-fup.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ovf-mnt-fup.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ovf-mnt-tip_pge.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ovf-pwre-pwrx-tip_pge.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ovf-timing-fup.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ovf-timing-tip_pge.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ovf-tip_pge.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ovf.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/pip-far_call.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/pip-pip_mov_cr3-fail.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/pip-vmcs-tip_pgd.ptt (contents, props changed) vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/pip_mov_cr3-pip_mov_cr3.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-empty.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-exstop.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-fup-psbend.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-fup-tip_pgd-stop.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-fup-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-mnt-fup-psbend.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-mnt-psbend.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-ovf-fup.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-ovf-tip_pge.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-pip-psb.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-pip-tip_pge.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-psb.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-stop.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-tnt-psb.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-tsx.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-tsx_abort-tip-fup-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-tsx_abort-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-tsx_abort.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb-vmcs.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/psb_nofup-psb.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptdump-bad_opc-resync.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptdump-exec-mode.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptdump-last-ip.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptdump-no-offset-raw.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptdump-no-offset.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptdump-trunc-resync.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptw-fup.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptw.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptxed-block-stat.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptxed-block-stat_blocks.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptxed-end_on_call-fup-tip.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptxed-end_on_call-fup-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptxed-end_on_call-ret_tip.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptxed-end_on_call-ret_tnt.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptxed-end_on_call-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptxed-end_on_jump-fup-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptxed-insn-stat.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptxed-stat_insn.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ptxed-tick.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/pwre-exstop_ip-pwrx.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/ret_near_far.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/skd007.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/skd010-mode_tsx-fup.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/skd010-psb.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/skd010-tip.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/skd010-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/skd022.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/skl014-call.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/skl014-jmp-jmp.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/skl014-jmp.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/skl014-no_filter.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/skl168-cyc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/skl168-mtc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/syscall-sysret-cpl_0.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/syscall-sysret-cpl_3.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/syscall-sysret.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/sysenter-sysexit-cpl_0.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/sysenter-sysexit-cpl_3.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/sysenter-sysexit.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip-eos.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pgd-direct_call.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pgd-direct_jump.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pgd-exstop-tip_pge.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pgd-indirect_call.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pgd-indirect_jump.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pgd-pip-tip_pge.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pgd-psb-stop.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pgd-stop.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pgd-tnt_not_taken.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pgd-tnt_taken.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pgd-tsx.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pgd_noip-far_jump.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pgd_noip-mov_cr3.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pge-exstop.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pge-fup-tip_pgd-tip_pge.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pge-fup-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pge-ptw-fup-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pge-ptw-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pge-pwre-pwrx-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pge-tsx_abort-tip-fup-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tip_pge-tsx_abort-tip_pgd.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tnt-tip_pgd_noip-sysret.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tnt_n-eos.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tnt_t-eos.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/truncated.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-cbr-cyc-tsc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-cyc_calibrate.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-mtc-tma-mtc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma-cbr-cyc-mtc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma-cbr-cyc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma-cbr-mtc-cyc-mtc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma-cbr-mtc-cyc-no_cyc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma-cbr-mtc-cyc-tsc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma-cbr-mtc-cyc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma-cbr-mtc-cyc_calibrate.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma-cbr-mtc-mtc-cyc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma-cyc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma-mtc-cyc_calibrate.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma-mtc-mtc-cyc_calibrate.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma-mtc-tsc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma-mtc_absolute.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma-mtc_infreq.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma-mtc_infreq_wrap.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma-mtc_relative.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma-mtc_wrap.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc-tma_zero_fc-cbr-cyc.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsc_tma_mtc_gap.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsx-abort.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsx-commit.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/tsx-no_spurious_commit.ptt vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/test/src/vmcs-far_call.ptt Added: vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/.gitignore ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/.gitignore Thu Oct 10 12:20:25 2019 (r353389) @@ -0,0 +1,7 @@ +*.lst +*.bin +*.pt +*.sb +*.exp +*.out +*.diff Added: vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/CMakeLists.txt Thu Oct 10 12:20:25 2019 (r353389) @@ -0,0 +1,325 @@ +# Copyright (c) 2013-2019, Intel Corporation +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# * Neither the name of Intel Corporation nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. + +cmake_minimum_required(VERSION 2.8.6) + +project(PT C) + +# versioning +# +# the major and the minor number define the supported Intel PT set. +# the patch level is only used for bug-fixes. +# +# a build number and a version extension can be optionally specified. +# +set(PT_VERSION_MAJOR 2) +set(PT_VERSION_MINOR 0) +set(PT_VERSION_PATCH 0) +set(PT_VERSION_BUILD "0" CACHE STRING "") +set(PT_VERSION_EXT "" CACHE STRING "") + +set(PT_VERSION "${PT_VERSION_MAJOR}.${PT_VERSION_MINOR}.${PT_VERSION_PATCH}") + +add_definitions( + -DPT_VERSION_MAJOR=${PT_VERSION_MAJOR} + -DPT_VERSION_MINOR=${PT_VERSION_MINOR} + -DPT_VERSION_PATCH=${PT_VERSION_PATCH} + -DPT_VERSION_BUILD=${PT_VERSION_BUILD} + -DPT_VERSION_EXT=\"${PT_VERSION_EXT}\" +) + +include(GNUInstallDirs) +include(FindUnixCommands) +include(CheckCCompilerFlag) + +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) +set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) +set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) +set(MAN_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/man) + +set(CMAKE_COLOR_MAKEFILE OFF) +set(CMAKE_VERBOSE_MAKEFILE ON) + +set(CMAKE_MACOSX_RPATH ON) + +option(FEATURE_THREADS "A small amount of multi-threading support." ON) +if (FEATURE_THREADS) + add_definitions(-DFEATURE_THREADS) +endif (FEATURE_THREADS) + +option(DEVBUILD "Enable compiler warnings and turn them into errors." OFF) + +option(PTDUMP "Enable ptdump, a packet dumper") +option(PTXED "Enable ptxed, an instruction flow dumper") +option(PTTC "Enable pttc, a test compiler") +option(PTSEG "Enable ptseg, a PSB segment finder") +option(PTUNIT "Enable ptunit, a unit test system and libipt unit tests") +option(MAN "Enable man pages (requires pandoc)." OFF) +option(SIDEBAND "Enable libipt-sb, a sideband correlation library") +option(BUILD_SHARED_LIBS "Build the shared library" ON) + +if (SIDEBAND) + option(PEVENT "Enable perf_event sideband support." OFF) +endif (SIDEBAND) + +if (PTXED OR PEVENT) + option(FEATURE_ELF "Support ELF files." OFF) +endif (PTXED OR PEVENT) + +set(PTT OFF) +if (BASH AND PTDUMP AND PTXED AND PTTC) + set(PTT ON) +endif () + +if (PTUNIT OR PTT) + ENABLE_TESTING() +endif() + +if (PTUNIT) + enable_language(CXX) +endif() + +include_directories( + include + ${CMAKE_CURRENT_BINARY_DIR}/libipt/include +) + +if (PTUNIT) + include_directories( + ptunit/include + ) +endif (PTUNIT) + +if (FEATURE_ELF) + add_definitions( + -DFEATURE_ELF + ) +endif (FEATURE_ELF) + +if (SIDEBAND) + add_definitions( + -DFEATURE_SIDEBAND + ) + + include_directories( + ${CMAKE_CURRENT_BINARY_DIR}/sideband/include + ) +endif (SIDEBAND) + +if (PEVENT) + add_definitions( + -DFEATURE_PEVENT + ) + + include_directories( + pevent/include + ) +endif (PEVENT) + +if (NOT BUILD_SHARED_LIBS) + add_definitions( + # suppress libipt symbols import/export + # + -Dpt_export= + + # suppress libipt-sb symbols import/export + # + -Dpt_sb_export= + ) +endif (NOT BUILD_SHARED_LIBS) + +function(add_cflag_if_available option guard) + + check_c_compiler_flag(${option} ${guard}) + if (${guard}) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${option}" PARENT_SCOPE) + endif (${guard}) + +endfunction(add_cflag_if_available) + + +if (CMAKE_HOST_WIN32) + include_directories( + include/windows + ) + + add_definitions( + # cl spells inline __inline in C + # + /Dinline=__inline + + # cl spells strtoll _strtoi64 + # + /Dstrtoll=_strtoi64 + + # cl spells strtoull _strtoui64 + # + /Dstrtoull=_strtoui64 + + # avoid annoying warnings about unsecure standard functions + # + /D_CRT_SECURE_NO_WARNINGS + ) + + # enable parallel build + # + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP") + + if (DEVBUILD) + # compiler warnings + # + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W4") + + # warnings are errors + # + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX") + endif (DEVBUILD) + + if (CMAKE_C_COMPILER_ID MATCHES "MSVC") + # prevent complaints on: + # - do {} while(0) constructs + # - int arr[] constructs + # + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4127") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4200") + + endif (CMAKE_C_COMPILER_ID MATCHES "MSVC") + +endif (CMAKE_HOST_WIN32) + +if (CMAKE_HOST_UNIX) + include_directories( + include/posix + ) + + add_definitions( + -D_POSIX_C_SOURCE=200809L + ) + + option(GCOV "Compile for GNU code coverage analysis." OFF) + + if (GCOV) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ftest-coverage") + + link_libraries(gcov) + endif (GCOV) + + if (FEATURE_THREADS) + link_libraries(pthread) + endif (FEATURE_THREADS) + + # set the language + # + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") + + # windows-like dll export model + # + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden") + + if (DEVBUILD) + # compiler warnings + # + if (CMAKE_C_COMPILER_ID MATCHES "[Cc]lang") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Weverything") + + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-disabled-macro-expansion") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-covered-switch-default") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-switch-enum") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-cast-align") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-padded") + else (CMAKE_C_COMPILER_ID MATCHES "[Cc]lang") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wextra") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic") + + add_cflag_if_available("-Wimplicit-fallthrough=5" + HAVE_C_Wimplicit_fallthrough) + add_cflag_if_available("-Wno-format-truncation" + HAVE_C_Wno_format_truncation) + endif (CMAKE_C_COMPILER_ID MATCHES "[Cc]lang") + + # warnings are errors + # + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror") + endif (DEVBUILD) + +endif (CMAKE_HOST_UNIX) + + +function(add_ptunit_test_base name) + if (PTUNIT) + add_executable(${name} ${ARGN}) + target_link_libraries(${name} ptunit) + + add_test(NAME ${name} COMMAND ${name}) + endif (PTUNIT) +endfunction(add_ptunit_test_base) + +function(add_ptunit_c_test name) + add_ptunit_test_base(ptunit-${name} test/src/ptunit-${name}.c ${ARGN}) +endfunction(add_ptunit_c_test) + +function(add_ptunit_cpp_test name) + add_ptunit_test_base(ptunit-${name} test/src/ptunit-${name}.cpp ${ARGN}) +endfunction(add_ptunit_cpp_test) + +function(add_ptunit_libraries name) + if (PTUNIT) + target_link_libraries(ptunit-${name} ${ARGN}) + endif (PTUNIT) +endfunction(add_ptunit_libraries) + + +add_subdirectory(libipt) + +if (PTDUMP) + add_subdirectory(ptdump) +endif (PTDUMP) +if (PTXED) + add_subdirectory(ptxed) +endif (PTXED) +if (PTTC) + add_subdirectory(pttc) +endif (PTTC) +if (PTSEG) + add_subdirectory(ptseg) +endif (PTSEG) +if (PTUNIT) + add_subdirectory(ptunit) +endif (PTUNIT) +if (PTT) + add_subdirectory(test) +endif (PTT) +if (MAN) + add_subdirectory(doc/man) +endif (MAN) +if (SIDEBAND) + add_subdirectory(sideband) +endif (SIDEBAND) +if (PEVENT) + add_subdirectory(pevent) +endif (PEVENT) Added: vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/CONTRIBUTING ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/CONTRIBUTING Thu Oct 10 12:20:25 2019 (r353389) @@ -0,0 +1,107 @@ +Contributing to this Project +============================ + +## License + +This project is licensed under the terms and conditions of the 3-Clause BSD +[LICENSE](LICENSE). By contributing to this project, you agree that you are +providing your contribution under the terms and conditions of that license. + + +## Patches + +We accept patches to this project as pull requests on GitHub. When submitting +patches, please keep each patch self-contained and as small as possible. Please +address one topic per patch series. Intermediate patches must build without +errors (with DEVBUILD=ON) and not introduce test fails. Please describe what +each patch is doing in its commit message. + +If you are contributing a patch series that addresses a GitHub Issue, the last +patch in the series should have 'fixes #<issue>' in its commit-message. + +If the patch series addresses a bug that is not tracked, please provide a +detailed description of the issue in the commit-message, ideally with a +description of the 'before' and 'after' behavior. + +The patch series should contain regression tests either as PTT tests or as +ptunit tests. Please make sure that all tests are passing. This may require +re-ordering patches to introduce the regression test after the issue was fixed. + +If the patch series adds a new feature, please make sure to add documentation. +Prior to submitting this type of contribution, it may be a good idea to first +discuss the feature as a GitHub issue or via email before implementing it. + +This project is using the Linux coding style. + + +## Sign Your Patch + +Please use the sign-off line at the end of each patch. Your signature +certifies that you wrote the patch or otherwise have the right to pass +it on as an open-source patch. The rules are pretty simple: if you can +certify the below (from +[developercertificate.org](http://developercertificate.org/)): + +``` +Developer Certificate of Origin +Version 1.1 + +Copyright (C) 2004, 2006 The Linux Foundation and its contributors. +660 York Street, Suite 102, +San Francisco, CA 94110 USA + +Everyone is permitted to copy and distribute verbatim copies of this +license document, but changing it is not allowed. + +Developer's Certificate of Origin 1.1 + +By making a contribution to this project, I certify that: + +(a) The contribution was created in whole or in part by me and I + have the right to submit it under the open source license + indicated in the file; or + +(b) The contribution is based upon previous work that, to the best + of my knowledge, is covered under an appropriate open source + license and I have the right under that license to submit that + work with modifications, whether created in whole or in part + by me, under the same open source license (unless I am + permitted to submit under a different license), as indicated + in the file; or + +(c) The contribution was provided directly to me by some other + person who certified (a), (b) or (c) and I have not modified + it. + +(d) I understand and agree that this project and the contribution + are public and that a record of the contribution (including all + personal information I submit with it, including my sign-off) is + maintained indefinitely and may be redistributed consistent with + this project or the open source license(s) involved. +``` + +Then you just add a line to every git commit message: + + Signed-off-by: Joe Smith <joe.smith@email.com> + +Use your real name (sorry, no pseudonyms or anonymous contributions.) + +If you set your `user.name` and `user.email` git configs, you can sign your +commit automatically with `git commit -s`. + + +## Reporting Issues + +If you want to report an issue or bug, please report them via the GitHub Issues +tracker. + +When reporting a bug, please provide the steps to reproduce it with the ptdump +and ptxed tools contained in the tree. Please include the command-line that was +used and the exact error message. You may also attach a trace file and the +binaries necessary for reproducing the issue or write a small PTT test to +demonstrate the issue. + +When providing trace snippets, please provide a few extra packets of context. + +Please also provide the processor family and model on which the trace was +recorded and the version of the decoder that was used to decode the trace. Added: vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/LICENSE ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/LICENSE Thu Oct 10 12:20:25 2019 (r353389) @@ -0,0 +1,24 @@ +Copyright (c) 2013-2019, Intel Corporation + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of Intel Corporation nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. Added: vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/README ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/README Thu Oct 10 12:20:25 2019 (r353389) @@ -0,0 +1,78 @@ +Intel(R) Processor Trace Decoder Library +======================================== + +The Intel Processor Trace (Intel PT) Decoder Library is Intel's reference +implementation for decoding Intel PT. It can be used as a standalone library or +it can be partially or fully integrated into your tool. + +The library comes with a set of sample tools built on top of it and a test +system built on top of the sample tools. The samples demonstrate how to use the +library and may serve as a starting point for integrating the library into your +tool. + + +Contents +-------- + + README this file + + libipt A packet encoder/decoder library + + +Optional Contents and Samples +----------------------------- + + ptdump Example implementation of a packet dumper + + ptxed Example implementation of a trace disassembler + + ptseg A simple tool to find surrounding PSB packets + + pttc A trace test generator + + ptunit A simple unit test system + + sideband A sideband correlation library + + pevent A library for reading/writing Linux perf event records + + script A collection of scripts + + test A collection of tests + + include A collection of substitute headers + + doc A document describing the build + A document describing how to get started + A document describing the usage of the decoder library + A document describing how to capture trace + A document describing pttc + + doc/man Man pages for the encoder/decoder library + + +Dependencies +------------ + +We use cmake for building. + + cmake The cross-platform open-source build system. + http://www.cmake.org + + +Other packages you need for some of the above optional components. + + xed The Intel x86 instruction encoder and decoder. + https://github.com/intelxed/xed + + This is needed to build and run ptxed. + + yasm The Yasm Modular Assembler + http://github.com/yasm + + This is needed to run pttc. + + pandoc A universal document converter + http://pandoc.org + + This is needed for man pages. Added: vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/getting_started.md ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/getting_started.md Thu Oct 10 12:20:25 2019 (r353389) @@ -0,0 +1,95 @@ +Getting Started {#start} +======================== + +<!--- + ! Copyright (c) 2013-2019, Intel Corporation + ! + ! Redistribution and use in source and binary forms, with or without + ! modification, are permitted provided that the following conditions are met: + ! + ! * Redistributions of source code must retain the above copyright notice, + ! this list of conditions and the following disclaimer. + ! * Redistributions in binary form must reproduce the above copyright notice, + ! this list of conditions and the following disclaimer in the documentation + ! and/or other materials provided with the distribution. + ! * Neither the name of Intel Corporation nor the names of its contributors + ! may be used to endorse or promote products derived from this software + ! without specific prior written permission. + ! + ! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + ! AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + ! IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ! ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + ! LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + ! CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + ! SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + ! INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + ! CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ! ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + ! POSSIBILITY OF SUCH DAMAGE. + !--> + +This chapter gives a brief introduction into the sample tools using one of +the tests as example. It assumes that you are already familiar with +Intel(R) Processor Trace (Intel PT) and that you already built the decoder +library and the sample tools. + +For detailed information about Intel PT, please refer to the respective +chapter in Volume 3 of the Intel Software Developer's Manual at +https://www.intel.com/sdm. + +Start by compiling the loop-tnt test. It consists of a small assembly program +with interleaved Intel PT directives: + + $ pttc test/src/loop-tnt.ptt + loop-tnt-ptxed.exp + loop-tnt-ptdump.exp + +This produces the following output files: + + loop-tnt.lst a yasm assembly listing file + loop-tnt.bin a raw binary file + loop-tnt.pt a Intel PT file + loop-tnt-ptxed.exp the expected ptxed output + loop-tnt-ptdump.exp the expected ptdump output + +The latter two files are generated based on the `@pt .exp(<tool>)` directives +found in the `.ptt` file. They are used for automated testing. See +script/test.bash for details on that. + + +Use `ptdump` to dump the Intel PT packets: + + $ ptdump loop-tnt.pt + 0000000000000000 psb + 0000000000000010 fup 3: 0x0000000000100000, ip=0x0000000000100000 + 0000000000000017 mode.exec cs.d=0, cs.l=1 (64-bit mode) + 0000000000000019 psbend + 000000000000001b tnt8 !!. + 000000000000001c tip.pgd 3: 0x0000000000100013, ip=0x0000000000100013 + +The ptdump tool takes an Intel PT file as input and dumps the packets in +human-readable form. The number on the very left is the offset into the Intel +PT packet stream in hex. This is followed by the packet opcode and payload. + + +Use `ptxed` for reconstructing the execution flow. For this, you need the Intel +PT file as well as the corresponding binary image. You need to specify the load +address given by the org directive in the .ptt file when using a raw binary +file. + + $ ptxed --pt loop-tnt.pt --raw loop-tnt.bin:0x100000 + 0x0000000000100000 mov rax, 0x0 + 0x0000000000100007 jmp 0x10000d + 0x000000000010000d cmp rax, 0x1 + 0x0000000000100011 jle 0x100009 + 0x0000000000100009 add rax, 0x1 + 0x000000000010000d cmp rax, 0x1 + 0x0000000000100011 jle 0x100009 + 0x0000000000100009 add rax, 0x1 + 0x000000000010000d cmp rax, 0x1 + 0x0000000000100011 jle 0x100009 + [disabled] + +Ptxed prints disassembled instructions in execution order as well as status +messages enclosed in brackets. Added: vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/howto_build.md ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/howto_build.md Thu Oct 10 12:20:25 2019 (r353389) @@ -0,0 +1,202 @@ +Building the Intel(R) Processor Trace (Intel PT) Decoder Library and Samples {#build} +============================================================================ + +<!--- + ! Copyright (c) 2013-2019, Intel Corporation + ! + ! Redistribution and use in source and binary forms, with or without + ! modification, are permitted provided that the following conditions are met: + ! + ! * Redistributions of source code must retain the above copyright notice, + ! this list of conditions and the following disclaimer. + ! * Redistributions in binary form must reproduce the above copyright notice, + ! this list of conditions and the following disclaimer in the documentation + ! and/or other materials provided with the distribution. + ! * Neither the name of Intel Corporation nor the names of its contributors + ! may be used to endorse or promote products derived from this software + ! without specific prior written permission. + ! + ! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + ! AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + ! IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ! ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + ! LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + ! CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + ! SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + ! INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + ! CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ! ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + ! POSSIBILITY OF SUCH DAMAGE. + !--> + +This chapter gives step-by-step instructions for building the library and the +sample tools using cmake. For detailed information on cmake, see +http://www.cmake.org. + + +## Configuration + +Besides the standard cmake options of build type and install directory, you will +find project-specific options for enabling optional features, optional +components, or optional build variants. + + +### Optional Components + +By default, only the decoder library is built. Other components can be enabled +by setting the respective cmake variable to ON. + +The following optional components are availble: + + PTUNIT A simple unit test framework. + A collection of unit tests for libipt. + + PTDUMP A packet dumper example. + + PTXED A trace disassembler example. + + PTTC A trace test generator. + + SIDEBAND A sideband correlation library + + PEVENT Support for the Linux perf_event sideband format. + + This feature requires the linux/perf_event.h header. + + +### Optional Features + +Features are enabled by setting the respective FEATURE_<name> cmake variable. +This causes the FEATURE_<name> pre-processor macro to be defined and may also +cause additional source files to be compiled and additional libraries to be +linked. + +Features are enabled globally and will be used by all components that support +the feature. The following features are supported: + + FEATURE_ELF Support for the ELF object format. + + This feature requires the elf.h header. + + + FEATURE_THREADS Support some amount of multi-threading. + + This feature makes image functions thread-safe. + + +### Build Variants + +Some build variants depend on libraries or header files that may not be +available on all supported platforms. + + GCOV Support for code coverage using libgcov. + + This build variant requires libgcov and is not availble + on Windows. + + + DEVBUILD Enable compiler warnings and turn them into errors. + + +### Version Settings + +The major, minor, and patch version numbers are set in the sources and +must be changed there. You can set the optional build number and an +arbitrary extension string. + + PT_VERSION_BUILD The optional build number. + + Defaults to zero (no build number). + + + PT_VERSION_EXT An arbitrary version extension string. + + Defaults to the empty string (no extension string). + + +### Dependencies + +In order to build ptxed, the location of the XED library and the XED header +files must be specified. + + XED_INCLUDE Path to the directory containing the XED header files. + + XED_LIBDIR Path to the directory containing the XED library. + + +When using XED from a PIN distribution, the respective directories are located +in `extras/xed2-<arch>/`. + +When using XED from github, the respective directories are located in the +install directory (default: kits/xed-install-date-os-cpu) and the header +files are located in include/xed. Please refer to the README in the XED +tree on how to build XED. + + +## Building on Linux``*`` and OS X``*`` + +We recommend out-of-tree builds. Start by creating the destination directory +and navigating into it: + + $ mkdir -p /path/to/dest + $ cd /path/to/dest + + +From here, call cmake with the top-level source directory as argument. You may +already pass some or all of the cmake variables as arguments to cmake. Without +arguments, cmake uses default values. + + $ cmake /path/to/src + + +If you have not passed values for XED_INCLUDE or XED_LIBDIR, you need to +configure them now if you want to build ptxed. You may also use this command to +change the configuration at any time later on. + + $ make edit_cache + + +After configuring the cmake cache, you can build either specific targets or +everything using one of: + + $ make <target> + $ make + + +Use the help make target to learn about available make targets: + + $ make help + + + +## Building on Windows``*`` + +We recommend using the cmake GUI. After starting the cmake GUI, fill in the +following fields: + + Where is the source code: Path to the top-level source directory. + + Where to build the binaries: Path to the destination directory. + + +We recommend out-of-tree builds, so the build directory should not be the same +as or below the source directory. After this first configuration step, press +the + + Configure + +button and select the builder you want to use. + +Cmake will now populate the remainder of the window with configuration options. +Please make sure to specify at least XED_INCLUDE and XED_LIBDIR if you want to +build ptxed. After completing the configuration, press the + + Generate + +button. If you selected a Visual Studio generator in the first step, cmake will +now generate a Visual Studio solution. You can repeat this step if you want to +change the configuration later on. Beware that you always need to press the +Generate button after changing the configuration. + +In the case of a Visual Studio generator, you may now open the generated Visual +Studio solution and build the library and samples. Added: vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/howto_capture.md ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b/doc/howto_capture.md Thu Oct 10 12:20:25 2019 (r353389) @@ -0,0 +1,628 @@ +Capturing Intel(R) Processor Trace (Intel PT) {#capture} +============================================= + +<!--- + ! Copyright (c) 2015-2019, Intel Corporation + ! + ! Redistribution and use in source and binary forms, with or without + ! modification, are permitted provided that the following conditions are met: + ! + ! * Redistributions of source code must retain the above copyright notice, + ! this list of conditions and the following disclaimer. + ! * Redistributions in binary form must reproduce the above copyright notice, + ! this list of conditions and the following disclaimer in the documentation + ! and/or other materials provided with the distribution. + ! * Neither the name of Intel Corporation nor the names of its contributors + ! may be used to endorse or promote products derived from this software + ! without specific prior written permission. + ! + ! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + ! AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + ! IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ! ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + ! LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + ! CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + ! SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + ! INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + ! CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ! ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + ! POSSIBILITY OF SUCH DAMAGE. + !--> + +This chapter describes how to capture Intel PT for processing with libipt. For +illustration, we use the sample tools ptdump and ptxed. We assume that they are +configured with: + + * PEVENT=ON + * FEATURE_ELF=ON + + +## Capturing Intel PT on Linux + +Starting with version 4.1, the Linux kernel supports Intel PT via the perf_event +kernel interface. Starting with version 4.3, the perf user-space tool will +support Intel PT as well. + + +### Capturing Intel PT via Linux perf_event + +We start with setting up a perf_event_attr object for capturing Intel PT. The +structure is declared in `/usr/include/linux/perf_event.h`. + +The Intel PT PMU type is dynamic. Its value can be read from +`/sys/bus/event_source/devices/intel_pt/type`. + +~~~{.c} + struct perf_event_attr attr; + + memset(&attr, 0, sizeof(attr)); + attr.size = sizeof(attr); + attr.type = <read type>(); + + attr.exclude_kernel = 1; + ... +~~~ + + +Once all desired fields have been set, we can open a perf_event counter for +Intel PT. See `perf_event_open(2)` for details. In our example, we configure +it for tracing a single thread. + +The system call returns a file descriptor on success, `-1` otherwise. + +~~~{.c} + int fd; + + fd = syscall(SYS_perf_event_open, &attr, <pid>, -1, -1, 0); +~~~ + + +The Intel PT trace is captured in the AUX area, which has been introduced with +kernel 4.1. The DATA area contains sideband information such as image changes +that are necessary for decoding the trace. + +In theory, both areas can be configured as circular buffers or as linear buffers +by mapping them read-only or read-write, respectively. When configured as +circular buffer, new data will overwrite older data. When configured as linear +buffer, the user is expected to continuously read out the data and update the +buffer's tail pointer. New data that do not fit into the buffer will be +dropped. + +When using the AUX area, its size and offset have to be filled into the +`perf_event_mmap_page`, which is mapped together with the DATA area. This +requires the DATA area to be mapped read-write and hence configured as linear +buffer. In our example, we configure the AUX area as circular buffer. + +Note that the size of both the AUX and the DATA area has to be a power of two +pages. The DATA area needs one additional page to contain the +`perf_event_mmap_page`. + +~~~{.c} + struct perf_event_mmap_page *header; + void *base, *data, *aux; + + base = mmap(NULL, (1+2**n) * PAGE_SIZE, PROT_WRITE, MAP_SHARED, fd, 0); + if (base == MAP_FAILED) + return <handle data mmap error>(); + + header = base; + data = base + header->data_offset; + + header->aux_offset = header->data_offset + header->data_size; + header->aux_size = (2**m) * PAGE_SIZE; + + aux = mmap(NULL, header->aux_size, PROT_READ, MAP_SHARED, fd, + header->aux_offset); + if (aux == MAP_FAILED) + return <handle aux mmap error>(); +~~~ + + +### Capturing Intel PT via the perf user-space tool + +Starting with kernel 4.3, the perf user-space tool can be used to capture Intel +PT with the `intel_pt` event. See tools/perf/Documentation in the Linux kernel +tree for further information. In this text, we describe how to use the captured +trace with the ptdump and ptxed sample tools. + +We start with capturing some Intel PT trace using the `intel_pt` event. Note +that when collecting system-wide (`-a`) trace, we need context switch events +(`--switch-events`) to decode the trace. See `perf-record(1)` for details. + +~~~{.sh} + $ perf record -e intel_pt//[uk] [--per-thread] [-a --switch-events] -T -- ls + [ perf record: Woken up 1 times to write data ] + [ perf record: Captured and wrote 0.384 MB perf.data ] +~~~ + + *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910101220.x9ACKPKb076987>