This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH v2 00/11] btrace: Turn linked list of function call segments into vector
- From: Tim Wiederhake <tim dot wiederhake at intel dot com>
- To: gdb-patches at sourceware dot org
- Cc: markus dot t dot metzger at intel dot com
- Date: Mon, 8 May 2017 10:12:54 +0200
- Subject: [PATCH v2 00/11] btrace: Turn linked list of function call segments into vector
- Authentication-results: sourceware.org; auth=none
Hi all,
this series removes the extra list of btrace function call segments in struct
btrace_thread_info. To achieve this, the doubly linked list of function call
segments in struct btrace_thread_info is replaced by a (GDB) vector. In some
instances, struct btrace_thread_info is initialized by memset'ing it to 0x00,
so we can't use std::vector (yet).
V1 of this series can be found here:
https://sourceware.org/ml/gdb-patches/2017-02/msg00482.html
The patches are differently ordered in comparison to V1, removing the necessity
of the "big squash".
Regards,
Tim
Tim Wiederhake (11):
btrace: Transfer ownership of pointers.
btrace: Add btinfo to instruction interator.
btrace: Use function segment index in call iterator.
btrace: Use function segment index in insn iterator.
btrace: Remove constant arguments.
btrace: Remove struct btrace_thread_info::{begin,end}.
btrace: Replace struct btrace_thread_info::up.
btrace: Remove struct btrace_thread_info::flow.
btrace: Replace struct btrace_thread_info::segment.
btrace: Remove bfun_s vector.
btrace: Store function segments as objects.
gdb/btrace.c | 852 +++++++++++++++++++++---------------------
gdb/btrace.h | 62 ++-
gdb/python/py-record-btrace.c | 12 +-
gdb/record-btrace.c | 32 +-
4 files changed, 472 insertions(+), 486 deletions(-)
--
2.7.4