Previous: Branch Trace Format, Up: Remote Protocol

E.20 Branch Trace Configuration Format

For each inferior thread, gdb can obtain the branch trace configuration using the ‘qXfer:btrace-conf:read’ (see qXfer btrace-conf read) packet.

The configuration describes the branch trace format and configuration settings for that format. The following information is described:

This thread uses the Branch Trace Store (BTS) format.
The size of the BTS ring buffer in bytes.

This thread uses the Intel Processor Trace (Intel PT) format.
The size of the Intel PT ring buffer in bytes.

gdb must be linked with the Expat library to support XML branch trace configuration discovery. See Expat.

The formal DTD for the branch trace configuration format is given below:

     <!ELEMENT btrace-conf	(bts?, pt?)>
     <!ATTLIST btrace-conf	version	CDATA	#FIXED "1.0">
     <!ELEMENT bts	EMPTY>
     <!ATTLIST bts	size	CDATA	#IMPLIED>
     <!ELEMENT pt	EMPTY>
     <!ATTLIST pt	size	CDATA	#IMPLIED>