binutils-gdb/gdb/features
Markus Metzger d33501a51f record-btrace: add bts buffer size configuration option
Allow the size of the branch trace ring buffer to be defined by the
user.  The specified buffer size will be used when BTS tracing is
enabled for new threads.

The obtained buffer size may differ from the requested size.  The
actual buffer size for the current thread is shown in the "info record"
command.

Bigger buffers mean longer traces, but also longer processing time.

2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>

	* btrace.c (parse_xml_btrace_conf_bts): Add size.
	(btrace_conf_bts_attributes): New.
	(btrace_conf_children): Add attributes.
	* common/btrace-common.h (btrace_config_bts): New.
	(btrace_config)<bts>: New.
	(btrace_config): Update comment.
	* nat/linux-btrace.c (linux_enable_btrace, linux_enable_bts):
	Use config.
	* features/btrace-conf.dtd: Increment version.  Add size
	attribute to bts element.
	* record-btrace.c (set_record_btrace_bts_cmdlist,
	show_record_btrace_bts_cmdlist): New.
	(record_btrace_adjust_size, record_btrace_print_bts_conf,
	record_btrace_print_conf, cmd_set_record_btrace_bts,
	cmd_show_record_btrace_bts): New.
	(record_btrace_info): Call record_btrace_print_conf.
	(_initialize_record_btrace): Add commands.
	* remote.c: Add PACKET_Qbtrace_conf_bts_size enum.
	(remote_protocol_features): Add Qbtrace-conf:bts:size packet.
	(btrace_sync_conf): Synchronize bts size.
	(_initialize_remote): Add Qbtrace-conf:bts:size packet.
	* NEWS: Announce new commands and new packets.

doc/
	* gdb.texinfo (Branch Trace Configuration Format): Add size.
	(Process Record and Replay): Describe new set|show commands.
	(General Query Packets): Describe Qbtrace-conf:bts:size packet.

testsuite/
	* gdb.btrace/buffer-size: New.

gdbserver/
	* linux-low.c (linux_low_btrace_conf): Print size.
	* server.c (handle_btrace_conf_general_set): New.
	(hanle_general_set): Call handle_btrace_conf_general_set.
	(handle_query): Report Qbtrace-conf:bts:size as supported.
2015-02-09 09:42:28 +01:00
..
i386 Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
rs6000 Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
Makefile Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
aarch64-core.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
aarch64-fpu.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
aarch64.c Aarch64: Make CPSR a 32-bit register again in the target description 2014-10-01 10:06:45 +01:00
aarch64.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-core.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-fpa.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-m-profile.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-vfpv2.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-vfpv3.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-with-iwmmxt.c gdb/ 2012-07-27 20:23:05 +00:00
arm-with-iwmmxt.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-with-m-fpa-layout.c gdb/ 2012-07-27 20:23:05 +00:00
arm-with-m-fpa-layout.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-with-m-vfp-d16.c gdb/ 2012-07-27 20:23:05 +00:00
arm-with-m-vfp-d16.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-with-m.c gdb/ 2012-07-27 20:23:05 +00:00
arm-with-m.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-with-neon.c gdb/ 2012-07-27 20:23:05 +00:00
arm-with-neon.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-with-vfpv2.c gdb/ 2012-07-27 20:23:05 +00:00
arm-with-vfpv2.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-with-vfpv3.c gdb/ 2012-07-27 20:23:05 +00:00
arm-with-vfpv3.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
btrace-conf.dtd record-btrace: add bts buffer size configuration option 2015-02-09 09:42:28 +01:00
btrace.dtd Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
feature_to_c.sh Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb-target.dtd Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdbserver-regs.xsl
library-list-aix.dtd Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
library-list-svr4.dtd Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
library-list.dtd Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
m68k-core.xml
microblaze-core.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
microblaze-stack-protect.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
microblaze-with-stack-protect.c Fix for remote G Packet message too long error for baremetal. 2014-07-19 17:47:52 -07:00
microblaze-with-stack-protect.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
microblaze.c Fix for remote G Packet message too long error for baremetal. 2014-07-19 17:47:52 -07:00
microblaze.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips-cp0.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips-cpu.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips-dsp-linux.c gdb/ 2012-07-27 20:23:05 +00:00
mips-dsp-linux.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips-dsp.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips-fpu.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips-linux.c gdb/ 2012-07-27 20:23:05 +00:00
mips-linux.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips64-cp0.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips64-cpu.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips64-dsp-linux.c gdb/ 2012-07-27 20:23:05 +00:00
mips64-dsp-linux.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips64-dsp.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips64-fpu.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips64-linux.c gdb/ 2012-07-27 20:23:05 +00:00
mips64-linux.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
nios2-cpu.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
nios2-linux.c Fix type of "fp" and other registers for Nios II. 2014-03-25 21:00:17 -07:00
nios2-linux.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
nios2.c Fix type of "fp" and other registers for Nios II. 2014-03-25 21:00:17 -07:00
nios2.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
number-regs.xsl
osdata.dtd Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-acr.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-core32.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-core64.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-fpr.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-linux32.c gdb/ 2012-07-27 20:23:05 +00:00
s390-linux32.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-linux32v1.c gdb/ 2012-07-27 20:23:05 +00:00
s390-linux32v1.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-linux32v2.c gdb/ 2012-07-27 20:23:05 +00:00
s390-linux32v2.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-linux64.c gdb/ 2012-07-27 20:23:05 +00:00
s390-linux64.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-linux64v1.c gdb/ 2012-07-27 20:23:05 +00:00
s390-linux64v1.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-linux64v2.c gdb/ 2012-07-27 20:23:05 +00:00
s390-linux64v2.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-tdb.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-te-linux64.c gdb/ChangeLog: 2013-09-13 14:17:31 +00:00
s390-te-linux64.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390x-core64.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390x-linux64.c gdb/ 2012-07-27 20:23:05 +00:00
s390x-linux64.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390x-linux64v1.c gdb/ 2012-07-27 20:23:05 +00:00
s390x-linux64v1.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390x-linux64v2.c gdb/ 2012-07-27 20:23:05 +00:00
s390x-linux64v2.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390x-te-linux64.c gdb/ChangeLog: 2013-09-13 14:17:31 +00:00
s390x-te-linux64.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sort-regs.xsl
threads.dtd Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-c6xp.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-c62x-linux.c gdb/ 2012-07-27 20:23:05 +00:00
tic6x-c62x-linux.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-c62x.c gdb/ 2012-07-27 20:23:05 +00:00
tic6x-c62x.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-c64x-linux.c gdb/ 2012-07-27 20:23:05 +00:00
tic6x-c64x-linux.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-c64x.c gdb/ 2012-07-27 20:23:05 +00:00
tic6x-c64x.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-c64xp-linux.c gdb/ 2012-07-27 20:23:05 +00:00
tic6x-c64xp-linux.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-c64xp.c gdb/ 2012-07-27 20:23:05 +00:00
tic6x-c64xp.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-core.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
tic6x-gp.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
traceframe-info.dtd Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
xinclude.dtd Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
xscale-iwmmxt.xml Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00