From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28615 invoked by alias); 9 May 2017 07:01:05 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 16132 invoked by uid 89); 9 May 2017 07:00:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.1 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_1,GIT_PATCH_2,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=transfer, Transfer X-HELO: mga14.intel.com Received: from mga14.intel.com (HELO mga14.intel.com) (192.55.52.115) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 09 May 2017 07:00:15 +0000 Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 May 2017 00:00:15 -0700 X-ExtLoop1: 1 Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga004.fm.intel.com with ESMTP; 09 May 2017 00:00:14 -0700 Received: from ulvlx001.iul.intel.com (ulvlx001.iul.intel.com [172.28.207.17]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id v4970Do6016620; Tue, 9 May 2017 08:00:13 +0100 Received: from ulvlx001.iul.intel.com (localhost [127.0.0.1]) by ulvlx001.iul.intel.com with ESMTP id v4970D9L023896; Tue, 9 May 2017 09:00:13 +0200 Received: (from twiederh@localhost) by ulvlx001.iul.intel.com with œ id v4970DEM023892; Tue, 9 May 2017 09:00:13 +0200 From: Tim Wiederhake To: gdb-patches@sourceware.org Cc: markus.t.metzger@intel.com Subject: [PATCH v3 00/12] btrace: Turn linked list of function call segments into vector Date: Tue, 09 May 2017 07:01:00 -0000 Message-Id: <1494312929-22749-1-git-send-email-tim.wiederhake@intel.com> X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg00202.txt.bz2 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