Structs§
- __
Bindgen Bitfield Unit - pt_asid
- An Intel PT address space identifier.
- pt_
block - A block of instructions.
- pt_
block_ decoder - pt_
conf_ addr_ filter - The address filter configuration.
- pt_
conf_ addr_ filter__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - pt_
conf_ flags - A collection of decoder-specific configuration flags.
- pt_
conf_ flags__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - Flags for the block decoder.
- pt_
conf_ flags__ bindgen_ ty_ 1__ bindgen_ ty_ 2 - Flags for the instruction flow decoder.
- pt_
conf_ flags__ bindgen_ ty_ 1__ bindgen_ ty_ 3 - Flags for the query decoder.
- pt_
conf_ flags__ bindgen_ ty_ 1__ bindgen_ ty_ 4 - Flags for the event decoder.
- pt_
config - An Intel PT decoder configuration.
- pt_
config__ bindgen_ ty_ 1 - An optional callback for handling unknown packets.
- pt_cpu
- A cpu identifier.
- pt_
encoder - pt_
errata - A collection of Intel PT errata.
- pt_
event - An event.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - Event: enabled.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 2 - Event: disabled.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 3 - Event: async disabled.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 4 - Event: async branch.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 5 - Event: paging.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 6 - Event: async paging.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 7 - Event: overflow.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 8 - Event: exec mode.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 9 - Event: tsx.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 10 - Event: vmcs.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 11 - Event: async vmcs.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 12 - Event: execution stopped.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 13 - Event: mwait.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 14 - Event: power state entry.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 15 - Event: power state exit.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 16 - Event: ptwrite.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 17 - Event: tick.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 18 - Event: cbr.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 19 - Event: mnt.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 20 - Event: tip.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 21 - Event: tnt.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 22 - Event: iflags.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 23 - Event: interrupt/exception.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 24 - Event: iret.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 25 - Event: smi.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 26 - Event: rsm.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 27 - Event: sipi.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 28 - Event: init.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 29 - Event: vmentry.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 30 - Event: vmexit.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 31 - Event: shutdown.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 32 - Event: user interrupt.
- pt_
event__ bindgen_ ty_ 1__ bindgen_ ty_ 33 - Event: uiret.
- pt_
event_ decoder - pt_
image - The traced memory image.
- pt_
image_ section_ cache - A cache of traced image sections.
- pt_insn
- A single traced instruction.
- pt_
insn_ decoder - pt_
packet - An Intel PT packet.
- pt_
packet_ cbr - A CBR packet.
- pt_
packet_ cfe - A CFE packet.
- pt_
packet_ cyc - A CYC packet.
- pt_
packet_ decoder - pt_
packet_ evd - A EVD packet.
- pt_
packet_ exstop - A EXSTOP packet.
- pt_
packet_ ip - A packet with IP payload.
- pt_
packet_ mnt - A MNT packet.
- pt_
packet_ mode - A mode packet.
- pt_
packet_ mode_ exec - A mode.exec packet.
- pt_
packet_ mode_ tsx - A mode.tsx packet.
- pt_
packet_ mtc - A MTC packet.
- pt_
packet_ mwait - A MWAIT packet.
- pt_
packet_ pip - A PIP packet.
- pt_
packet_ ptw - A PTW packet.
- pt_
packet_ pwre - A PWRE packet.
- pt_
packet_ pwrx - A PWRX packet.
- pt_
packet_ tma - A TMA packet.
- pt_
packet_ tnt - A TNT-8 or TNT-64 packet.
- pt_
packet_ tsc - A TSC packet.
- pt_
packet_ unknown - An unknown packet.
- pt_
packet_ vmcs - A VMCS packet.
- pt_
query_ decoder - pt_
version - The library version.
Constants§
- pt_
asid_ no_ cr3 - An unknown CR3 value to be used for pt_asid objects.
- pt_
asid_ no_ vmcs - An unknown VMCS Base value to be used for pt_asid objects.
- pt_
cfe_ intr_ pt_ cfe_ intr_ ac - pt_
cfe_ intr_ pt_ cfe_ intr_ bp - pt_
cfe_ intr_ pt_ cfe_ intr_ br - pt_
cfe_ intr_ pt_ cfe_ intr_ cp - pt_
cfe_ intr_ pt_ cfe_ intr_ db - pt_
cfe_ intr_ pt_ cfe_ intr_ de - pt_
cfe_ intr_ pt_ cfe_ intr_ df - pt_
cfe_ intr_ pt_ cfe_ intr_ gp - pt_
cfe_ intr_ pt_ cfe_ intr_ mc - pt_
cfe_ intr_ pt_ cfe_ intr_ mf - pt_
cfe_ intr_ pt_ cfe_ intr_ nm - pt_
cfe_ intr_ pt_ cfe_ intr_ nmi - pt_
cfe_ intr_ pt_ cfe_ intr_ np - pt_
cfe_ intr_ pt_ cfe_ intr_ of - pt_
cfe_ intr_ pt_ cfe_ intr_ pf - pt_
cfe_ intr_ pt_ cfe_ intr_ ss - pt_
cfe_ intr_ pt_ cfe_ intr_ ts - pt_
cfe_ intr_ pt_ cfe_ intr_ ud - pt_
cfe_ intr_ pt_ cfe_ intr_ ve - pt_
cfe_ intr_ pt_ cfe_ intr_ xm - pt_
cfe_ type_ pt_ cfe_ init - pt_
cfe_ type_ pt_ cfe_ intr - pt_
cfe_ type_ pt_ cfe_ iret - pt_
cfe_ type_ pt_ cfe_ rsm - pt_
cfe_ type_ pt_ cfe_ shutdown - pt_
cfe_ type_ pt_ cfe_ sipi - pt_
cfe_ type_ pt_ cfe_ smi - pt_
cfe_ type_ pt_ cfe_ uintr - pt_
cfe_ type_ pt_ cfe_ uiret - pt_
cfe_ type_ pt_ cfe_ vmentry - pt_
cfe_ type_ pt_ cfe_ vmexit - pt_
cfe_ type_ pt_ cfe_ vmexit_ intr - pt_
cpu_ vendor_ pcv_ intel - pt_
cpu_ vendor_ pcv_ unknown - pt_
error_ code_ pte_ bad_ config - pt_
error_ code_ pte_ bad_ context - pt_
error_ code_ pte_ bad_ cpu - pt_
error_ code_ pte_ bad_ file - pt_
error_ code_ pte_ bad_ image - pt_
error_ code_ pte_ bad_ insn - pt_
error_ code_ pte_ bad_ lock - pt_
error_ code_ pte_ bad_ opc - pt_
error_ code_ pte_ bad_ packet - pt_
error_ code_ pte_ bad_ query - pt_
error_ code_ pte_ bad_ retcomp - pt_
error_ code_ pte_ bad_ status_ update - pt_
error_ code_ pte_ eos - pt_
error_ code_ pte_ event_ ignored - pt_
error_ code_ pte_ internal - pt_
error_ code_ pte_ invalid - pt_
error_ code_ pte_ ip_ suppressed - pt_
error_ code_ pte_ no_ cbr - pt_
error_ code_ pte_ no_ enable - pt_
error_ code_ pte_ no_ time - pt_
error_ code_ pte_ noip - pt_
error_ code_ pte_ nomap - pt_
error_ code_ pte_ nomem - pt_
error_ code_ pte_ nosync - pt_
error_ code_ pte_ not_ supported - pt_
error_ code_ pte_ ok - pt_
error_ code_ pte_ overflow - pt_
error_ code_ pte_ retstack_ empty - pt_
evd_ type_ pt_ evd_ cr2 - pt_
evd_ type_ pt_ evd_ vmxq - pt_
evd_ type_ pt_ evd_ vmxr - pt_
event_ type_ ptev_ async_ branch - pt_
event_ type_ ptev_ async_ disabled - pt_
event_ type_ ptev_ async_ paging - pt_
event_ type_ ptev_ async_ vmcs - pt_
event_ type_ ptev_ cbr - pt_
event_ type_ ptev_ disabled - pt_
event_ type_ ptev_ enabled - pt_
event_ type_ ptev_ exec_ mode - pt_
event_ type_ ptev_ exstop - pt_
event_ type_ ptev_ iflags - pt_
event_ type_ ptev_ init - pt_
event_ type_ ptev_ interrupt - pt_
event_ type_ ptev_ iret - pt_
event_ type_ ptev_ mnt - pt_
event_ type_ ptev_ mwait - pt_
event_ type_ ptev_ overflow - pt_
event_ type_ ptev_ paging - pt_
event_ type_ ptev_ ptwrite - pt_
event_ type_ ptev_ pwre - pt_
event_ type_ ptev_ pwrx - pt_
event_ type_ ptev_ rsm - pt_
event_ type_ ptev_ shutdown - pt_
event_ type_ ptev_ sipi - pt_
event_ type_ ptev_ smi - pt_
event_ type_ ptev_ stop - pt_
event_ type_ ptev_ tick - pt_
event_ type_ ptev_ tip - pt_
event_ type_ ptev_ tnt - pt_
event_ type_ ptev_ tsx - pt_
event_ type_ ptev_ uintr - pt_
event_ type_ ptev_ uiret - pt_
event_ type_ ptev_ vmcs - pt_
event_ type_ ptev_ vmentry - pt_
event_ type_ ptev_ vmexit - pt_
exec_ mode_ ptem_ 16bit - pt_
exec_ mode_ ptem_ 32bit - pt_
exec_ mode_ ptem_ 64bit - pt_
exec_ mode_ ptem_ unknown - pt_
insn_ class_ ptic_ call - pt_
insn_ class_ ptic_ cond_ jump - pt_
insn_ class_ ptic_ error - pt_
insn_ class_ ptic_ far_ call - pt_
insn_ class_ ptic_ far_ jump - pt_
insn_ class_ ptic_ far_ return - pt_
insn_ class_ ptic_ indirect - pt_
insn_ class_ ptic_ jump - pt_
insn_ class_ ptic_ other - pt_
insn_ class_ ptic_ ptwrite - pt_
insn_ class_ ptic_ return - pt_
insn_ class_ ptic_ unknown - pt_
ip_ compression_ pt_ ipc_ full - pt_
ip_ compression_ pt_ ipc_ sext_ 48 - pt_
ip_ compression_ pt_ ipc_ suppressed - pt_
ip_ compression_ pt_ ipc_ update_ 16 - pt_
ip_ compression_ pt_ ipc_ update_ 32 - pt_
ip_ compression_ pt_ ipc_ update_ 48 - pt_
max_ insn_ size - pt_
mode_ leaf_ pt_ mol_ exec - pt_
mode_ leaf_ pt_ mol_ tsx - pt_
packet_ type_ ppt_ cbr - pt_
packet_ type_ ppt_ cfe - pt_
packet_ type_ ppt_ cyc - pt_
packet_ type_ ppt_ evd - pt_
packet_ type_ ppt_ exstop - pt_
packet_ type_ ppt_ fup - pt_
packet_ type_ ppt_ invalid - pt_
packet_ type_ ppt_ mnt - pt_
packet_ type_ ppt_ mode - pt_
packet_ type_ ppt_ mtc - pt_
packet_ type_ ppt_ mwait - pt_
packet_ type_ ppt_ ovf - pt_
packet_ type_ ppt_ pad - pt_
packet_ type_ ppt_ pip - pt_
packet_ type_ ppt_ psb - pt_
packet_ type_ ppt_ psbend - pt_
packet_ type_ ppt_ ptw - pt_
packet_ type_ ppt_ pwre - pt_
packet_ type_ ppt_ pwrx - pt_
packet_ type_ ppt_ stop - pt_
packet_ type_ ppt_ tip - pt_
packet_ type_ ppt_ tip_ pgd - pt_
packet_ type_ ppt_ tip_ pge - pt_
packet_ type_ ppt_ tma - pt_
packet_ type_ ppt_ tnt_ 8 - pt_
packet_ type_ ppt_ tnt_ 64 - pt_
packet_ type_ ppt_ tsc - pt_
packet_ type_ ppt_ unknown - pt_
packet_ type_ ppt_ vmcs - pt_
status_ flag_ pts_ eos - There is no more trace data available.
- pt_
status_ flag_ pts_ event_ pending - There is an event pending.
- pt_
status_ flag_ pts_ ip_ suppressed - The address has been suppressed.
Functions§
- pt_
alloc_ ⚠encoder - Allocate an Intel PT packet encoder.
- pt_
blk_ ⚠alloc_ decoder - Allocate an Intel PT block decoder.
- pt_
blk_ ⚠asid - Return the current address space identifier.
- pt_
blk_ ⚠core_ bus_ ratio - Return the current core bus ratio.
- pt_
blk_ ⚠event - Get the next pending event.
- pt_
blk_ ⚠free_ decoder - Free an Intel PT block decoder.
- pt_
blk_ ⚠get_ config - pt_
blk_ ⚠get_ image - Get the traced image.
- pt_
blk_ ⚠get_ offset - Get the current decoder position.
- pt_
blk_ ⚠get_ sync_ offset - Get the position of the last synchronization point.
- pt_
blk_ ⚠next - Determine the next block of instructions.
- pt_
blk_ ⚠set_ image - Set the traced image.
- pt_
blk_ ⚠sync_ backward - pt_
blk_ ⚠sync_ forward - Synchronize an Intel PT block decoder.
- pt_
blk_ ⚠sync_ set - Manually synchronize an Intel PT block decoder.
- pt_
blk_ ⚠time - Return the current time.
- pt_
cpu_ ⚠errata - Determine errata for a given cpu.
- pt_
enc_ ⚠get_ config - pt_
enc_ ⚠get_ offset - Get the current packet encoder position.
- pt_
enc_ ⚠next - Encode an Intel PT packet.
- pt_
enc_ ⚠sync_ set - Hard set synchronization point of an Intel PT packet encoder.
- pt_
errstr ⚠ - Return a human readable error string.
- pt_
evt_ ⚠alloc_ decoder - Allocate an Intel PT event decoder.
- pt_
evt_ ⚠free_ decoder - Free an Intel PT event decoder.
- pt_
evt_ ⚠get_ config - pt_
evt_ ⚠get_ offset - Get the current decoder position.
- pt_
evt_ ⚠get_ sync_ offset - Get the position of the last synchronization point.
- pt_
evt_ ⚠next - Determine the next event.
- pt_
evt_ ⚠sync_ backward - pt_
evt_ ⚠sync_ forward - Synchronize an Intel PT event decoder.
- pt_
evt_ ⚠sync_ set - Manually synchronize an Intel PT event decoder.
- pt_
free_ ⚠encoder - Free an Intel PT packet encoder.
- pt_
image_ ⚠add_ cached - Add a section from an image section cache.
- pt_
image_ ⚠add_ file - Add a new file section to the traced memory image.
- pt_
image_ ⚠alloc - Allocate a traced memory image.
- pt_
image_ ⚠copy - Copy an image.
- pt_
image_ ⚠free - Free a traced memory image.
- pt_
image_ ⚠name - Get the image name.
- pt_
image_ ⚠remove_ by_ asid - Remove all sections loaded into an address space.
- pt_
image_ ⚠remove_ by_ filename - Remove all sections loaded from a file.
- pt_
image_ ⚠set_ callback - Set the memory callback for the traced memory image.
- pt_
insn_ ⚠alloc_ decoder - Allocate an Intel PT instruction flow decoder.
- pt_
insn_ ⚠asid - Return the current address space identifier.
- pt_
insn_ ⚠core_ bus_ ratio - Return the current core bus ratio.
- pt_
insn_ ⚠event - Get the next pending event.
- pt_
insn_ ⚠free_ decoder - Free an Intel PT instruction flow decoder.
- pt_
insn_ ⚠get_ config - pt_
insn_ ⚠get_ image - Get the traced image.
- pt_
insn_ ⚠get_ offset - Get the current decoder position.
- pt_
insn_ ⚠get_ sync_ offset - Get the position of the last synchronization point.
- pt_
insn_ ⚠next - Determine the next instruction.
- pt_
insn_ ⚠set_ image - Set the traced image.
- pt_
insn_ ⚠sync_ backward - pt_
insn_ ⚠sync_ forward - Synchronize an Intel PT instruction flow decoder.
- pt_
insn_ ⚠sync_ set - Manually synchronize an Intel PT instruction flow decoder.
- pt_
insn_ ⚠time - Return the current time.
- pt_
iscache_ ⚠add_ file - Add a new file section to the traced memory image section cache.
- pt_
iscache_ ⚠alloc - Allocate a traced memory image section cache.
- pt_
iscache_ ⚠free - Free a traced memory image section cache.
- pt_
iscache_ ⚠name - Get the image section cache name.
- pt_
iscache_ ⚠read - Read memory from a cached file section
- pt_
iscache_ ⚠set_ limit - Set the image section cache limit.
- pt_
library_ ⚠version - Return the library version.
- pt_
pkt_ ⚠alloc_ decoder - Allocate an Intel PT packet decoder.
- pt_
pkt_ ⚠free_ decoder - Free an Intel PT packet decoder.
- pt_
pkt_ ⚠get_ config - pt_
pkt_ ⚠get_ offset - Get the current decoder position.
- pt_
pkt_ ⚠get_ sync_ offset - Get the position of the last synchronization point.
- pt_
pkt_ ⚠next - Decode the next packet and advance the decoder.
- pt_
pkt_ ⚠sync_ backward - pt_
pkt_ ⚠sync_ forward - Synchronize an Intel PT packet decoder.
- pt_
pkt_ ⚠sync_ set - Hard set synchronization point of an Intel PT decoder.
- pt_
qry_ ⚠alloc_ decoder - Allocate an Intel PT query decoder.
- pt_
qry_ ⚠cond_ branch - Query whether the next unconditional branch has been taken.
- pt_
qry_ ⚠core_ bus_ ratio - Return the current core bus ratio.
- pt_
qry_ ⚠event - Query the next pending event.
- pt_
qry_ ⚠free_ decoder - Free an Intel PT query decoder.
- pt_
qry_ ⚠get_ config - pt_
qry_ ⚠get_ offset - Get the current decoder position.
- pt_
qry_ ⚠get_ sync_ offset - Get the position of the last synchronization point.
- pt_
qry_ ⚠indirect_ branch - Get the next indirect branch destination.
- pt_
qry_ ⚠sync_ backward - pt_
qry_ ⚠sync_ forward - Synchronize an Intel PT query decoder.
- pt_
qry_ ⚠sync_ set - Manually synchronize an Intel PT query decoder.
- pt_
qry_ ⚠time - Query the current time.
Type Aliases§
- _bindgen_
ty_ 1 - The maximal size of an instruction.
- pt_
cfe_ intr - pt_
cfe_ type - pt_
cpu_ vendor - A cpu vendor.
- pt_
error_ code - Error codes.
- pt_
evd_ type - pt_
event_ type - Event types.
- pt_
exec_ mode - An execution mode.
- pt_
insn_ class - The instruction class.
- pt_
ip_ compression - The IP compression.
- pt_
mode_ leaf - Mode packet leaves.
- pt_
packet_ type - Intel PT packet types.
- pt_
status_ flag - Decoder status flags.
- read_
memory_ callback_ t - A read memory callback function.
Unions§
- pt_
conf_ addr_ filter__ bindgen_ ty_ 1 - The address filter configuration.
- pt_
conf_ flags__ bindgen_ ty_ 1 - The decoder variant.
- pt_
event__ bindgen_ ty_ 1 - Event specific data.
- pt_
packet__ bindgen_ ty_ 1 - Packet specific data.
- pt_
packet_ mode__ bindgen_ ty_ 1 - Mode bits.