From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934898AbcI2W27 (ORCPT ); Thu, 29 Sep 2016 18:28:59 -0400 Received: from mail.kernel.org ([198.145.29.136]:41900 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932813AbcI2W2y (ORCPT ); Thu, 29 Sep 2016 18:28:54 -0400 Date: Thu, 29 Sep 2016 19:28:48 -0300 From: Arnaldo Carvalho de Melo To: Nambong Ha Cc: linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Jiri Olsa , Namhyung Kim , Taeung Song Subject: Re: [PATCH] perf config: Add tips about a list option Message-ID: <20160929222848.GC29214@kernel.org> References: <1475184468-5145-1-git-send-email-over3025@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1475184468-5145-1-git-send-email-over3025@gmail.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.7.0 (2016-08-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Sep 30, 2016 at 06:27:48AM +0900, Nambong Ha escreveu: > Add two tips that describe --list option of config sub-command > and explain how to choose particular config file location. > > Signed-off-by: Nambong Ha > Cc: Namhyung Kim > Cc: Jiri Olsa > Cc: Taeung Song > --- > tools/perf/Documentation/tips.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/tools/perf/Documentation/tips.txt b/tools/perf/Documentation/tips.txt > index 5950b5a..1929654 100644 > --- a/tools/perf/Documentation/tips.txt > +++ b/tools/perf/Documentation/tips.txt > @@ -28,3 +28,5 @@ To change sampling frequency to 100 Hz: perf record -F 100 > See assembly instructions with percentage: perf annotate > If you prefer Intel style assembly, try: perf annotate -M intel > For hierarchical output, try: perf report --hierarchy > +Show current config key-value pairs: perf config --list > +If choosing particular config file location, e.g.: perf config --user -l Humm, the second seems to use the context of the first, but these will be chosen randomly, so the second needs to be rewritten to something like: Show user configuration overrides: perf config --user --list No? - Arnaldo