Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756328Ab1DFOzb (ORCPT ); Wed, 6 Apr 2011 10:55:31 -0400 Received: from mail-qy0-f181.google.com ([209.85.216.181]:37638 "EHLO mail-qy0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755952Ab1DFOza (ORCPT ); Wed, 6 Apr 2011 10:55:30 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=Gw7/DaETinWtavyJCh/i+qi5lFSsA0kZJYypD+2UBiYb0DhjNdVuNahZKTOgohIpZy clLzjE0ii31ibKC6me4i7uWKV4Hgest9iv2RoBqnHRM/8X0GtUz+AiByQ39JhDxJIELb XUomZC/NWAe/7GHuuO8VJXRu/370Nn4DZ0VIw= Date: Wed, 6 Apr 2011 16:55:23 +0200 From: Frederic Weisbecker To: Arnaldo Carvalho de Melo Cc: David Ahern , Akihiro Nagai , Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org, Masami Hiramatsu , 2nddept-manager@sdl.hitachi.co.jp, Paul Mackerras , Jiri Olsa Subject: Re: [PATCH -tip v3 3/6] perf branch trace: print pid and command Message-ID: <20110406145521.GG1867@nowhere> References: <20110324113209.20235.61900.stgit@localhost6.localdomain6> <4D8B79E6.2050603@gmail.com> <4D8C6B1B.70409@hitachi.com> <4D8CAE74.9080805@gmail.com> <4D906450.1040809@hitachi.com> <4D909BBB.5020500@gmail.com> <20110401151313.GC2335@nowhere> <4D96072E.4060902@gmail.com> <20110406121501.GA1867@nowhere> <20110406140958.GA4987@ghostprotocols.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110406140958.GA4987@ghostprotocols.net> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2461 Lines: 58 On Wed, Apr 06, 2011 at 11:09:58AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Apr 06, 2011 at 02:15:07PM +0200, Frederic Weisbecker escreveu: > > On Fri, Apr 01, 2011 at 11:11:10AM -0600, David Ahern wrote: > > > On 04/01/11 09:13, Frederic Weisbecker wrote: > > > > But well, we can start simple and make and just do the => trick > > > > if we have PERF_SAMPLE_ADDR and resolve addr if the user asked > > > > the sym. Then when we have the graph output, have these per evsel > > > > display callbacks. > > > > There is another email thread about page faults. The user wants sample > > > address resolved to symbols. I was going to look into it next week when > > > I get back from vacation. > > > What we seem to need for that is to bring a pagefault tracepoint. We had > > propositions for that in the past, but work on this is in pause mode it > > seems. > > Isn't there one in the 'tip/tmp.perf/trace' tmp branch? Lemme see... > > Yeah, and it is even yours ;-) > > commit 6a824e89c0dfe6bce3d7e85f987ec9c8e7304b34 > Author: Frederic Weisbecker > Date: Fri Nov 12 05:35:06 2010 +0100 > > perf, mm: Add fault tracing > > Part of that are two modified patches from Jiri Olsa who added the > fault tracepoints. I had to split them in two tracepoints so that we get > the faults handling duration. > > Originally-from: Frederic Weisbecker > Signed-off-by: Ingo Molnar > Signed-off-by: Thomas Gleixner That forgets to mention it's based on Jiri Olsa's patch :) "tracing,mm - add kernel pagefault tracepoint for x86 & x86_64" (Message id <1289466549-7602-3-git-send-email-jolsa@redhat.com>). > > Can we dust this one off and get the ball rolling again? I prefer someone comes with a real need before me or Jiri respin that. There was perf trace but its development seems to be stale now. The page fault software event seem to be enough for basic dump requests. I don't like software events and prefer tracepoints in general but as long as the current implementation is enough and people don't need to measure page fault servicing time, write scripts or so, we are probably fine. -- 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/