From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752305AbbJVQ2Y (ORCPT ); Thu, 22 Oct 2015 12:28:24 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:34626 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750814AbbJVQ2X (ORCPT ); Thu, 22 Oct 2015 12:28:23 -0400 Date: Thu, 22 Oct 2015 18:28:17 +0200 From: Frederic Weisbecker To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , David Ahern , Adrian Hunter , Borislav Petkov , Brendan Gregg , Chandler Carruth , Stephane Eranian , Wang Nan Subject: Re: [PATCH 2/2] perf tools: Improve call graph documents and help messages Message-ID: <20151022162815.GB28099@lerouge> 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> 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 On Thu, Oct 22, 2015 at 11:28:32PM +0900, Namhyung Kim wrote: > 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 ACK, thanks a lot!