From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5408 invoked by alias); 27 Nov 2012 17:30:15 -0000 Received: (qmail 5381 invoked by uid 22791); 27 Nov 2012 17:30:13 -0000 X-SWARE-Spam-Status: No, hits=-7.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mga11.intel.com (HELO mga11.intel.com) (192.55.52.93) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 27 Nov 2012 17:30:07 +0000 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 27 Nov 2012 09:30:06 -0800 X-ExtLoop1: 1 Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by fmsmga002.fm.intel.com with ESMTP; 27 Nov 2012 09:30:04 -0800 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.95]) by IRSMSX104.ger.corp.intel.com ([169.254.5.151]) with mapi id 14.01.0355.002; Tue, 27 Nov 2012 17:30:03 +0000 From: "Metzger, Markus T" To: Jan Kratochvil CC: "gdb-patches@sourceware.org" , "markus.t.metzger@gmail.com" , "palves@redhat.com" , "tromey@redhat.com" , "kettenis@gnu.org" Subject: RE: [patch v4 00/13] branch tracing support for Atom Date: Tue, 27 Nov 2012 17:30:00 -0000 Message-ID: References: <1354013351-14791-1-git-send-email-markus.t.metzger@intel.com> <20121127131055.GB22431@host2.jankratochvil.net> <20121127143235.GA31270@host2.jankratochvil.net> <20121127153603.GA1899@host2.jankratochvil.net> <20121127162740.GA4512@host2.jankratochvil.net> In-Reply-To: <20121127162740.GA4512@host2.jankratochvil.net> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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 X-SW-Source: 2012-11/txt/msg00759.txt.bz2 > -----Original Message----- > From: Jan Kratochvil [mailto:jan.kratochvil@redhat.com] > Sent: Tuesday, November 27, 2012 5:28 PM > To: Metzger, Markus T > Cc: gdb-patches@sourceware.org; markus.t.metzger@gmail.com; palves@redhat= .com; tromey@redhat.com; kettenis@gnu.org > Subject: Re: [patch v4 00/13] branch tracing support for Atom >=20 > On Tue, 27 Nov 2012 17:16:30 +0100, Metzger, Markus T wrote: > > Looks like it wouldn't be that difficult, after all. The assumption that > > a ret returns to the last call we've seen might be a bit optimistic, th= ough. > > And we wouldn't be able to handle those cases where the call is not inc= luded > > in the trace. The back trace would thus be rather short. >=20 > In which case the call is not present in the btrace recoding? We also ha= ve > the recording initial PC and we can also record the backtrace at that ini= tial > PC. Btrace uses a ring buffer into which the h/w writes from-to records for eac= h branch. We will only see the tail of the execution trace. Regards, Markus. Intel GmbH Dornacher Strasse 1 85622 Feldkirchen/Muenchen, Deutschland Sitz der Gesellschaft: Feldkirchen bei Muenchen Geschaeftsfuehrer: Peter Gleissner, Christian Lamprechter, Hannes Schwadere= r, Douglas Lusk Registergericht: Muenchen HRB 47456 Ust.-IdNr./VAT Registration No.: DE129385895 Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052