Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 2 Oct 2002 10:56:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 2 Oct 2002 10:56:02 -0400 Received: from franka.aracnet.com ([216.99.193.44]:24494 "EHLO franka.aracnet.com") by vger.kernel.org with ESMTP id ; Wed, 2 Oct 2002 10:56:01 -0400 Date: Wed, 02 Oct 2002 07:59:44 -0700 From: "Martin J. Bligh" Reply-To: "Martin J. Bligh" To: Ingo Molnar , Linus Torvalds cc: linux-kernel@vger.kernel.org Subject: Re: [patch] dump_stack() cleanup, BK-curr Message-ID: <934212386.1033545583@[10.10.2.3]> In-Reply-To: References: X-Mailer: Mulberry/2.1.2 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 520 Lines: 20 > void dump_stack(void) > { > - show_stack(0); > + unsigned long stack; > + > + show_trace(&stack); > } Doesn't this mean that dump_stack no longer dumps the stack? (seems somewhat counter-intuitive) Can't code which only wants a trace just call show_trace instead? M. - 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/