[PATCH v3 00/12] btrace: Turn linked list of function call segments into vector
Tim Wiederhake
tim.wiederhake@intel.com
Tue May 9 07:01:00 GMT 2017
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 std::vector.
V1 of this series can be found here:
https://sourceware.org/ml/gdb-patches/2017-02/msg00482.html
V2 of this series can be found here:
https://sourceware.org/ml/gdb-patches/2017-05/msg00168.html
Changes since V2:
V2 used a GDB vector to hold the function call segments.
Regards,
Tim
Tim Wiederhake (12):
btrace: Use std::vector in struct btrace_thread_information.
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 | 860 +++++++++++++++++++++---------------------
gdb/btrace.h | 62 ++-
gdb/python/py-record-btrace.c | 12 +-
gdb/record-btrace.c | 30 +-
4 files changed, 474 insertions(+), 490 deletions(-)
--
2.7.4
More information about the Gdb-patches
mailing list