Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757364AbYADHpw (ORCPT ); Fri, 4 Jan 2008 02:45:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752936AbYADHpo (ORCPT ); Fri, 4 Jan 2008 02:45:44 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:56519 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751667AbYADHpo (ORCPT ); Fri, 4 Jan 2008 02:45:44 -0500 Date: Fri, 4 Jan 2008 08:45:23 +0100 From: Ingo Molnar To: Arjan van de Ven Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, olof@lixom.net Subject: Re: [patch 2/2] Add the end-of-trace marker and the module list to WARN_ON() Message-ID: <20080104074523.GD17447@elte.hu> References: <477D5340.9090809@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <477D5340.9090809@linux.intel.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0007] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 630 Lines: 19 * Arjan van de Ven wrote: > + printk(KERN_WARNING "------------[ cut here ]------------\n"); > printk(KERN_WARNING "WARNING: at %s:%d %s()\n", file, > line, function); > + print_modules(); > dump_stack(); > + print_oops_end_marker(); another thing: could we also put the marker into dump_stack(), and attach the marker to the Call Trace line? Ingo -- 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/