aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat/x86-gcc-cpuid.h
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2014-11-17 11:18:05 +0100
committerMarkus Metzger <markus.t.metzger@intel.com>2015-07-02 12:52:19 +0200
commit010a18a1b12ec6d5219b7e602aa6abe12344dd1a (patch)
treed9a6517e7f3e0b3e9a4cdc51fd6ed02b41ceba15 /gdb/nat/x86-gcc-cpuid.h
parentb20a652466ea6e62e7d056188b79a0677a29f46e (diff)
downloadgdb-010a18a1b12ec6d5219b7e602aa6abe12344dd1a.zip
gdb-010a18a1b12ec6d5219b7e602aa6abe12344dd1a.tar.gz
gdb-010a18a1b12ec6d5219b7e602aa6abe12344dd1a.tar.bz2
btrace, linux: use data_size and data_offset
In struct perf_event_mmap_page there are new fields data_size and data_offset that give the location of the perf_event data buffer relative to the mmap page. Use them if they are present. gdb/ * nat/linux-btrace.c (linux_enable_bts): Check for PERF_ATTR_SIZE_VER5. Check for data_offset and data_size fields. Use them.
Diffstat (limited to 'gdb/nat/x86-gcc-cpuid.h')
0 files changed, 0 insertions, 0 deletions