Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753310AbYKFGRS (ORCPT ); Thu, 6 Nov 2008 01:17:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750865AbYKFGRJ (ORCPT ); Thu, 6 Nov 2008 01:17:09 -0500 Received: from smtp-out.google.com ([216.239.33.17]:30740 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750772AbYKFGRI (ORCPT ); Thu, 6 Nov 2008 01:17:08 -0500 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:content-transfer-encoding; b=LZDpyVr5j2wiluT3iJrwKh4vzYMjHjUBGwMsADOm+UQWV8IsUEU+1N+HVnOa6qwvX YS3PjRIV/DW6a33g9/2JQ== MIME-Version: 1.0 In-Reply-To: <20081106061125.GA6384@elte.hu> References: <20081106061125.GA6384@elte.hu> Date: Wed, 5 Nov 2008 22:16:59 -0800 Message-ID: Subject: Re: [patch] sched: fix single-depth wchan output From: Ken Chen To: Ingo Molnar Cc: Linux Kernel Mailing List , Peter Zijlstra , Steven Rostedt Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 965 Lines: 20 On Wed, Nov 5, 2008 at 10:11 PM, Ingo Molnar wrote: > hm, this adds overhead - and the thing is that WCHAN is rather > uninformative to begin with (because it's a single dimension), so we > should phase it out, not expand it. > > How about adding a /proc//stacktrace file that gives us the stack > trace of any task in the system? That would be useful for a number of > other purposes as well, and about 100 times more useful than wchan. > (often it would be more useful than sysrq-t dumps) Sure, my main motivation is to remove frame pointer generation. x86_64 unconditionally adds fp for kernel/sched.c right now. I'm all for phasing out wchan if people don't think there is value in it. - Ken -- 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/