From aadf7753fd4cc3d9eb1cd0c089fd7a483b58f59e Mon Sep 17 00:00:00 2001 From: Markus Metzger Date: Fri, 17 Jan 2014 14:40:02 +0100 Subject: 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 * nat/linux-btrace.h (perf_event_buffer): New. (btrace_target_info) : Replace with ... : ... 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. --- gdb/ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gdb/ChangeLog') 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 + * nat/linux-btrace.h (perf_event_buffer): New. + (btrace_target_info) : Replace with ... + : ... 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 + * btrace.c (btrace_enable): Pass BTRACE_FORMAT_BTS. * record-btrace.c (record_btrace_open): Remove call to target_supports_btrace. -- cgit v1.1