This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
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]]
- From: "Metzger, Markus T" <markus dot t dot metzger at intel dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Thu, 29 Jan 2015 16:33:07 +0000
- 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]]
- Authentication-results: sourceware.org; auth=none
- References: <1389686678-9039-1-git-send-email-markus dot t dot metzger at intel dot com> <1389686678-9039-7-git-send-email-markus dot t dot metzger at intel dot com> <20150108204943 dot GA4851 at host2 dot jankratochvil dot net> <A78C989F6D9628469189715575E55B231E6C3811 at IRSMSX104 dot ger dot corp dot intel dot com> <A78C989F6D9628469189715575E55B231E6C4759 at IRSMSX104 dot ger dot corp dot intel dot com> <20150122163740 dot GA11113 at host2 dot jankratochvil dot net> <A78C989F6D9628469189715575E55B231E6C51CF at IRSMSX104 dot ger dot corp dot intel dot com> <20150125191240 dot GA2646 at host1 dot jankratochvil dot net> <A78C989F6D9628469189715575E55B231E6C59EF at IRSMSX104 dot ger dot corp dot intel dot com> <20150126215512 dot GA8512 at host1 dot jankratochvil dot net>
> -----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]]
>
> 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.
>
> Yes, definitely. But I see the patch is still pending/unapproved.
Even with this patch, "unlimited" is not advisable. An unlimited buffer size
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