From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758065AbbJVSiD (ORCPT ); Thu, 22 Oct 2015 14:38:03 -0400 Received: from mail.kernel.org ([198.145.29.136]:51361 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751082AbbJVSiA (ORCPT ); Thu, 22 Oct 2015 14:38:00 -0400 Date: Thu, 22 Oct 2015 15:37:57 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , David Ahern , Adrian Hunter , Borislav Petkov , Brendan Gregg , Chandler Carruth , Frederic Weisbecker , Stephane Eranian , Wang Nan Subject: Re: [PATCH 2/2] perf tools: Improve call graph documents and help messages Message-ID: <20151022183757.GA20144@kernel.org> References: <1445524112-5201-1-git-send-email-namhyung@kernel.org> <1445524112-5201-2-git-send-email-namhyung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1445524112-5201-2-git-send-email-namhyung@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Oct 22, 2015 at 11:28:32PM +0900, Namhyung Kim escreveu: > The --call-graph option is complex so we should provide better guide for > users. Also change help message to be consistent with config option > names. Now perf top will show help like below: > > $ perf top --call-graph > Error: option `call-graph' requires a value > > Usage: perf top [] > > --call-graph > setup and enables call-graph (stack chain/backtrace): > > record_mode: call graph recording mode (fp|dwarf|lbr) > record_size: if record_mode is 'dwarf', max size of stack recording () > default: 8192 (bytes) > print_type: call graph printing style (graph|flat|fractal|none) > threshold: minimum call graph inclusion threshold () > print_limit: maximum number of call graph entry () > order: call graph order (caller|callee) > sort_key: call graph sort key (function|address) > branch: include last branch info to call graph (branch) > > Default: fp,graph,0.5,caller,function Applied.