From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752583Ab2DRD5X (ORCPT ); Tue, 17 Apr 2012 23:57:23 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.122]:8332 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751045Ab2DRD5W (ORCPT ); Tue, 17 Apr 2012 23:57:22 -0400 X-Authority-Analysis: v=2.0 cv=V/z/IJbi c=1 sm=0 a=ZycB6UtQUfgMyuk2+PxD7w==:17 a=XQbtiDEiEegA:10 a=_2gBi4Ny9w4A:10 a=5SG0PmZfjMsA:10 a=Q9fys5e9bTEA:10 a=NILeTfs2SIe9kG9bl3wA:9 a=PUjeQqilurYA:10 a=ZycB6UtQUfgMyuk2+PxD7w==:117 X-Cloudmark-Score: 0 X-Originating-IP: 74.67.80.29 Message-ID: <1334721441.28106.28.camel@gandalf.stny.rr.com> Subject: Re: [3.4-rc3] Thread overran stack, or stack corrupted From: Steven Rostedt To: Dave Jones Cc: Linus Torvalds , Linux Kernel Date: Tue, 17 Apr 2012 23:57:21 -0400 In-Reply-To: <20120418035004.GA31465@redhat.com> References: <20120417172142.GA30237@redhat.com> <20120417203223.GA31699@redhat.com> <20120418022705.GA23877@home.goodmis.org> <20120418031557.GA29828@redhat.com> <1334720611.28106.25.camel@gandalf.stny.rr.com> <20120418035004.GA31465@redhat.com> Content-Type: text/plain; charset="ISO-8859-15" X-Mailer: Evolution 3.2.2-1 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2012-04-17 at 23:50 -0400, Dave Jones wrote: > > Just to make sure, what does > > > > /sys/kernel/debug/tracing/enabled_functions > > > > have? > > 33503 lines. That sounds correct. > > > This would show what functions the stack tracer is using. > > > > I just compiled the latest vanilla kernel and tried it out, and it > > worked for me. > > works on my other machines too with similar kernel configs, just not on the one I'm profiling. I have to ask. Is this a x86 box? Also, have you tested to see if function tracing works? # cd /sys/kernel/debug/tracing # echo function > current_tracer # cat trace If function tracing doesn't work this wouldn't either. I'm also assuming you have CONFIG_STACKTRACE and CONFIG_STACKTRACE_SUPPORT enabled. They should be selected, but configs can always get screwed up. -- Steve