From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 04 Jan 2010 00:12:01 +0100 (CET) Received: from casper.infradead.org ([85.118.1.10]:35758 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1492423Ab0ACXL5 (ORCPT ); Mon, 4 Jan 2010 00:11:57 +0100 Received: from c-24-20-218-92.hsd1.or.comcast.net ([24.20.218.92] helo=localhost.localdomain) by casper.infradead.org with esmtpsa (Exim 4.69 #1 (Red Hat Linux)) id 1NRZbk-000124-GS; Sun, 03 Jan 2010 23:11:36 +0000 Date: Sun, 3 Jan 2010 15:14:06 -0800 From: Arjan van de Ven To: Tejun Heo Cc: Hui Zhu , Russell King , saeed bishara , Catalin Marinas , Nicolas Pitre , Ralf Baechle , David Daney , Tomaso Paoletti , Chris Dearman , Paul Gortmaker , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Frederic Weisbecker , Alexey Dobriyan , Brian Gerst , Rusty Russell , Andrew Morton , Steven Rostedt , Greg Kroah-Hartman , "Paul E. McKenney" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Coly Li Subject: Re: [PATCH] stack2core: show stack message and convert it to core file when kernel die Message-ID: <20100103151406.20228c3a@infradead.org> In-Reply-To: <4B412341.2010002@kernel.org> References: <4B411F14.1040302@kernel.org> <20100103150134.5bdab023@infradead.org> <4B412341.2010002@kernel.org> Organization: Intel X-Mailer: Claws Mail 3.7.3 (GTK+ 2.16.6; i586-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html X-archive-position: 25495 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: arjan@infradead.org Precedence: bulk X-list: linux-mips Return-Path: X-Keywords: X-UID: 2046 On Mon, 04 Jan 2010 08:07:45 +0900 Tejun Heo wrote: > On 01/04/2010 08:01 AM, Arjan van de Ven wrote: > > On Mon, 04 Jan 2010 07:49:56 +0900 > > Tejun Heo wrote: > >> > >> If implementing parsing of oops message in C is too awkward > >> (unsurprising at all), maybe implementing a converter in perl or > >> python is the easiest way so that it takes the oops message and > >> puts out well formatted input for the s2c program? > > > > you mean like scripts/markup_oops.pl ? > > Whichever one works but s2c wouldn't require symbol decoding. Maybe > we can simply add an option to tell it to just parse the oops and > output it in machine friendly format. Oh, also, the patch does add > new information the module load addresses. We should be able to add > those to the oops message in a compact form. actually one does not need those; you know the start address of the function already from the current oops output, and since you know the address of the function within the module as well, you know the start address of the module. -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org