From: Ian Campbell Subject: Re: [PATCH v2 07/12] xenctx: Add stack addr to call trace. Date: Fri, 8 Nov 2013 10:15:29 +0000 Message-ID: <1383905729.3189.70.camel@kazak.uk.xensource.com> References: <1383768500-4245-1-git-send-email-dslutz@terremark.com> <1383768500-4245-8-git-send-email-dslutz@terremark.com> <1383828610.32399.32.camel@kazak.uk.xensource.com> <527BA4F6.6030804@terremark.com> <1383835451.32399.47.camel@kazak.uk.xensource.com> <527BAC6A.9080109@terremark.com> <1383840223.32399.54.camel@kazak.uk.xensource.com> <527BD83D.7010606@terremark.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <527BD83D.7010606@terremark.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Don Slutz Cc: Stefano Stabellini , George Dunlap , Don Slutz , Ian Jackson , xen-devel@lists.xen.org, Jan Beulich List-Id: xen-devel@lists.xenproject.org On Thu, 2013-11-07 at 13:13 -0500, Don Slutz wrote: > On 11/07/13 11:03, Ian Campbell wrote: > > On Thu, 2013-11-07 at 10:06 -0500, Don Slutz wrote: > > > >>>>> What is "stack address" is it the base of the function's stack frame > >>>>> perhaps? Or maybe the top? Or maybe the framepointer? > >>>> It is the address of the stack "word". > >>> I'm afraid I am non the wiser. > >>> > >>> Ian. > >> Does just: > >> > >> ffffffff803ddf90: ffffffff80048d19 0000000000200800 .......... ..... > >> vs > >> ffffffff803ddf90: [] cpu_idle+0x95 > >> > >> help? The start of the line is the same. > > So it is the address of the word on the stack which contains the return > > address for the function call? > Yes. Is that useful? The outermost word of the stack frame might arguably be useful, and I'm not even sure of that, but this one I'm even less convinced by (the two may correspond on some arches, but not all). Ian.