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 /gprof | |
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 'gprof')
0 files changed, 0 insertions, 0 deletions