diff options
author | Markus Metzger <markus.t.metzger@intel.com> | 2014-01-17 14:40:02 +0100 |
---|---|---|
committer | Markus Metzger <markus.t.metzger@intel.com> | 2015-02-09 09:33:59 +0100 |
commit | aadf7753fd4cc3d9eb1cd0c089fd7a483b58f59e (patch) | |
tree | c2ecfeb8490e4595b14c2a3ae89c6a094b51f3ab /gdb/ChangeLog | |
parent | 043c35779713a14e0916a1b3e31e006cd1270ee4 (diff) | |
download | gdb-aadf7753fd4cc3d9eb1cd0c089fd7a483b58f59e.zip gdb-aadf7753fd4cc3d9eb1cd0c089fd7a483b58f59e.tar.gz gdb-aadf7753fd4cc3d9eb1cd0c089fd7a483b58f59e.tar.bz2 |
btrace, linux: add perf event buffer abstraction
Collect perf event buffer related fields from btrace_target_info into
a new struct perf_event_buffer. Update functions that operated on the
buffer to take a struct perf_event_buffer pointer rather than a
btrace_target_info pointer.
2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
* nat/linux-btrace.h (perf_event_buffer): New.
(btrace_target_info) <buffer, size, data_head>: Replace with ...
<bts>: ... this.
* nat/linux-btrace.c (perf_event_header, perf_event_mmap_size)
(perf_event_buffer_size, perf_event_buffer_begin)
(perf_event_buffer_end, linux_btrace_has_changed): Removed.
Updated users.
(perf_event_new_data): New.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 255daa1..5989460 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,16 @@ 2015-02-09 Markus Metzger <markus.t.metzger@intel.com> + * nat/linux-btrace.h (perf_event_buffer): New. + (btrace_target_info) <buffer, size, data_head>: Replace with ... + <bts>: ... this. + * nat/linux-btrace.c (perf_event_header, perf_event_mmap_size) + (perf_event_buffer_size, perf_event_buffer_begin) + (perf_event_buffer_end, linux_btrace_has_changed): Removed. + Updated users. + (perf_event_new_data): New. + +2015-02-09 Markus Metzger <markus.t.metzger@intel.com> + * btrace.c (btrace_enable): Pass BTRACE_FORMAT_BTS. * record-btrace.c (record_btrace_open): Remove call to target_supports_btrace. |