Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757184AbZC0O24 (ORCPT ); Fri, 27 Mar 2009 10:28:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752882AbZC0O2r (ORCPT ); Fri, 27 Mar 2009 10:28:47 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.125]:58097 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752860AbZC0O2r (ORCPT ); Fri, 27 Mar 2009 10:28:47 -0400 Date: Fri, 27 Mar 2009 10:28:43 -0400 (EDT) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: Frederic Weisbecker cc: Maneesh Soni , LKML , Ingo Molnar , Andrew Morton Subject: Re: [PATCH][GIT PULL] tracing/wakeup: move access to wakeup_cpu into spinlock In-Reply-To: <20090327134136.GG5976@nowhere> Message-ID: References: <20090326122806.GA4188@in.ibm.com> <20090326132739.GB5960@nowhere> <20090327084144.GA23318@in.ibm.com> <20090327124532.GA9963@in.ibm.com> <20090327134136.GG5976@nowhere> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1032 Lines: 33 On Fri, 27 Mar 2009, Frederic Weisbecker wrote: > > > > Hmm, looking back at the call stack: > > > > > > [] schedule+0xd99/0x10f9 > > > > [] ? trace_hardirqs_on_thunk+0x3a/0x3c > > > > [] ? delayed_work_timer_fn+0x0/0x38 > > > > [] retint_careful+0x12/0x2e > > > > I wonder if we do not set up a stack frame properly. retint_careful is > > called by assembly. I'll have a look at that > > > Aah, indeed. > May be should probe_kernel_address before saving > the addresses. > Looking at the retint_careful, I'm 90% sure that is the bug. Unfortunately, the CALLER_ADDR2 is a built in gcc function. Looks like only the wakeup latency tracer calls it, perhaps we should simply pass 0 instead? -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/