From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754677AbZBRP6m (ORCPT ); Wed, 18 Feb 2009 10:58:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751678AbZBRP6e (ORCPT ); Wed, 18 Feb 2009 10:58:34 -0500 Received: from nf-out-0910.google.com ([64.233.182.189]:43743 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751479AbZBRP6d (ORCPT ); Wed, 18 Feb 2009 10:58:33 -0500 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=kqnV2qW+3IgawhS8dESLWWd3yhtkW749WYjyxMOx5X6JHUDAQwnCnvPLTgtvPzT6Yz HOWf/zt/hPe/QAkuAFy9qLBLMIEgmuDH8EJaJTGHLvs+v7hx+SftSHSD11tzP2S7+9RW 7a3hFpdkU0sPs0pKtMmvKp9nXU+GjC+VgXxds= Date: Wed, 18 Feb 2009 16:58:28 +0100 From: Frederic Weisbecker To: Ingo Molnar Cc: Steven Rostedt , Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org Subject: Re: [RFC][PATCH 2/2] tracing/function-graph-tracer: provide documentation for the function graph tracer Message-ID: <20090218155827.GA5765@nowhere> References: <499ba227.077e420a.56d6.ffffc38b@mx.google.com> <20090218140150.GA31620@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090218140150.GA31620@elte.hu> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 18, 2009 at 03:01:50PM +0100, Ingo Molnar wrote: > > btw., a minor trace-output observation. We currently have this > default output: > > # tracer: function_graph > # > # CPU DURATION FUNCTION CALLS > # | | | | | | | > > 0) | sys_open() { > 0) | do_sys_open() { > 0) | getname() { > 0) | kmem_cache_alloc() { > 0) 1.382 us | __might_sleep(); > 0) 2.478 us | } > > Wouldnt this tweaked version look even nicer: > > # > # [ tracer: function_graph ] > # > CPU) | > .............................................. > 0) | sys_open() { > 0) | do_sys_open() { > 0) | getname() { > 0) | kmem_cache_alloc() { > 0) 1.382 us | __might_sleep(); > 0) 2.478 us | } > > > Changes: > > 1) Added an empty '#' line to the head. Looks nicer because > the comment is now symmetric. Right. > 2) Shifted of the CPU field two positions to the left. Better > for paste-ability and makes the 'CPU)' header fit as well. Good. > 3) Changed the field description in the header portion to a > standard notation. I guess it's more a matter of taste here. I like the uppercase titles because they draw a good separation between titles and traces. > 4) added the '....' line to create a table. Yeah, seems better. > Hm? > > Ingo