From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10505 invoked by alias); 7 Mar 2014 08:57:52 -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 10461 invoked by uid 89); 7 Mar 2014 08:57:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mga02.intel.com Received: from mga02.intel.com (HELO mga02.intel.com) (134.134.136.20) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Mar 2014 08:57:50 +0000 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 07 Mar 2014 00:57:48 -0800 X-ExtLoop1: 1 Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga001.jf.intel.com with ESMTP; 07 Mar 2014 00:57:46 -0800 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 s278vjnK020384; Fri, 7 Mar 2014 08:57:45 GMT Received: from ulvlx001.iul.intel.com (localhost [127.0.0.1]) by ulvlx001.iul.intel.com with ESMTP id s278vjdk014435; Fri, 7 Mar 2014 09:57:45 +0100 Received: (from mmetzger@localhost) by ulvlx001.iul.intel.com with œ id s278vjWr014431; Fri, 7 Mar 2014 09:57:45 +0100 From: Markus Metzger To: jan.kratochvil@redhat.com Cc: gdb-patches@sourceware.org Subject: [PATCH 0/2] btrace: perf improvements Date: Fri, 07 Mar 2014 08:57:00 -0000 Message-Id: <1394182665-14164-1-git-send-email-markus.t.metzger@intel.com> X-IsSubscribed: yes X-SW-Source: 2014-03/txt/msg00178.txt.bz2 The subsequent patches improve the performance of processing branch trace by reducing the number of symbol table lookups. For the currently hard-coded buffer size the impact should only be noticeable for big programs. When tracing GDB itself, for example, there is no noticeable delay. Subsequent patches will allow the buffer size to be configurable. Bigger buffers will require faster processing. Markus Metzger (2): btrace: only search for lines in current symtab btrace: avoid symbol lookup gdb/btrace.c | 128 +++++++++++++------------- gdb/btrace.h | 3 + gdb/record-btrace.c | 8 +- gdb/testsuite/gdb.btrace/exception.exp | 4 +- gdb/testsuite/gdb.btrace/static_functions.exp | 62 +++++++++++++ 5 files changed, 135 insertions(+), 70 deletions(-) create mode 100644 gdb/testsuite/gdb.btrace/static_functions.exp -- 1.8.3.1