From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751986AbbKCLhS (ORCPT ); Tue, 3 Nov 2015 06:37:18 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:34912 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750887AbbKCLhF (ORCPT ); Tue, 3 Nov 2015 06:37:05 -0500 Date: Tue, 3 Nov 2015 20:36:53 +0900 From: Namhyung Kim To: Taeung Song Cc: Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, jolsa@redhat.com, Ingo Molnar Subject: Re: [PATCH v9 1/9] perf tools: Add 'perf-config' command Message-ID: <20151103113653.GD5733@danjae.kornet> References: <1446515420-22681-1-git-send-email-treeze.taeung@gmail.com> <1446515420-22681-2-git-send-email-treeze.taeung@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1446515420-22681-2-git-send-email-treeze.taeung@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Taeung, On Tue, Nov 03, 2015 at 10:50:12AM +0900, Taeung Song wrote: > The perf configuration file contains many variables which can make > the perf command's action more effective. > But looking through state of configuration is difficult and there's no knowing > what kind of other variables except variables in perfconfig.example exist. > So This patch adds 'perf-config' command with '--list' option and a document for it. > > perf config [options] > > display current perf config variables. > # perf config > or > # perf config -l | --list > > Signed-off-by: Taeung Song Acked-by: Namhyung Kim One nitpick below.. [SNIP] > + call-graph.order:: > + This option controls print order of callchains. The default is > + 'callee' which means callee is printed at top and then followed by its > + caller and so on. The 'caller' prints it in reverse order. The default value of this option is little complex. I think we need to add following paragraph: If this option is not set and report.children or top.children is set to true (or the equivalent command line option is given), the default value of this option is changed to 'caller' for the execution of 'perf report' or 'perf top'. Other commands will still default to 'callee'. Thanks, Namhyung