From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11231 invoked by alias); 29 Jan 2015 16:33:17 -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 11182 invoked by uid 89); 29 Jan 2015 16:33:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mga09.intel.com Received: from mga09.intel.com (HELO mga09.intel.com) (134.134.136.24) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 29 Jan 2015 16:33:13 +0000 Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 29 Jan 2015 08:29:52 -0800 X-ExtLoop1: 1 Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by orsmga003.jf.intel.com with ESMTP; 29 Jan 2015 08:25:54 -0800 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.229]) by IRSMSX109.ger.corp.intel.com ([169.254.13.11]) with mapi id 14.03.0195.001; Thu, 29 Jan 2015 16:33:07 +0000 From: "Metzger, Markus T" To: Jan Kratochvil CC: "gdb-patches@sourceware.org" Subject: RE: record btrace experience [Re: x86_64-m32 internal error for multi-thread-step.exp [Re: [PATCH v10 06/28] btrace: change branch trace data structure]] Date: Thu, 29 Jan 2015 19:28:00 -0000 Message-ID: References: <1389686678-9039-1-git-send-email-markus.t.metzger@intel.com> <1389686678-9039-7-git-send-email-markus.t.metzger@intel.com> <20150108204943.GA4851@host2.jankratochvil.net> <20150122163740.GA11113@host2.jankratochvil.net> <20150125191240.GA2646@host1.jankratochvil.net> <20150126215512.GA8512@host1.jankratochvil.net> In-Reply-To: <20150126215512.GA8512@host1.jankratochvil.net> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-01/txt/msg00779.txt.bz2 > -----Original Message----- > From: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] On Behalf Of Jan Kratochvil > Sent: Monday, January 26, 2015 10:55 PM > To: Metzger, Markus T > Cc: gdb-patches@sourceware.org > Subject: Re: record btrace experience [Re: x86_64-m32 internal error for > multi-thread-step.exp [Re: [PATCH v10 06/28] btrace: change branch trace > data structure]] >=20 > On Mon, 26 Jan 2015 08:59:59 +0100, Metzger, Markus T wrote: > > I think what you are looking for is a command to set the buffer size. > > See https://sourceware.org/ml/gdb-patches/2014-11/msg00462.html. >=20 > Yes, definitely. But I see the patch is still pending/unapproved. Even with this patch, "unlimited" is not advisable. An unlimited buffer si= ze corresponds to 4MB and can easily hold 1Minsn. It'll take some time to process the recorded trace. Here's an old patch to improve this somewhat: https://www.sourceware.org/ml/gdb-patches/2014-06/msg00848.html. I'll rebase and resend it after the current series has been merged. Regards, Markus. Intel GmbH Dornacher Strasse 1 85622 Feldkirchen/Muenchen, Deutschland Sitz der Gesellschaft: Feldkirchen bei Muenchen Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk Registergericht: Muenchen HRB 47456 Ust.-IdNr./VAT Registration No.: DE129385895 Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052