Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763108AbYASFZm (ORCPT ); Sat, 19 Jan 2008 00:25:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750804AbYASFZf (ORCPT ); Sat, 19 Jan 2008 00:25:35 -0500 Received: from mga09.intel.com ([134.134.136.24]:17822 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750769AbYASFZf (ORCPT ); Sat, 19 Jan 2008 00:25:35 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.25,219,1199692800"; d="scan'208";a="291657850" Message-ID: <479189BF.2000403@linux.intel.com> Date: Fri, 18 Jan 2008 21:25:19 -0800 From: Arjan van de Ven User-Agent: Thunderbird 1.5.0.14 (Windows/20071210) MIME-Version: 1.0 To: Andi Kleen CC: Linux Kernel Mailing List , Linus Torvalds , Ingo Molnar , Andrew Morton Subject: Re: [Announce] Development release 0.1 of the LatencyTOP tool References: <4790E3A6.7060807@linux.intel.com> <47918792.2080201@linux.intel.com> <20080119052709.GA28467@one.firstfloor.org> In-Reply-To: <20080119052709.GA28467@one.firstfloor.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1160 Lines: 27 Andi Kleen wrote: >> yes indeed; I sort of use the same infrastructure inside the scheduler; the >> biggest >> reason I felt I had to do something different was that I wanted to do per >> process >> data collection, so that you can see for a specific process what was going >> on. > > Wouldn't it have been easier then to just extend the sleep profiler to > oprofile? oprofile already has pid filters and can do per process > profiling. it's more complex than that > > On the other hand I'm not fully sure only doing per pid profiling > is that useful. After all often latencies come from asynchronous > threads (like kblockd). So a system level view is probably better > anyways. another thing that the current profiling can't do, is to show what the system is doing when it hits the latency.. so someone calling fsync() will show up in the waiting for IO function, but not that it was due to an fsync(). -- 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/