From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966164AbbDWOQR (ORCPT ); Thu, 23 Apr 2015 10:16:17 -0400 Received: from mail.kernel.org ([198.145.29.136]:38420 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965008AbbDWOQM (ORCPT ); Thu, 23 Apr 2015 10:16:12 -0400 Date: Thu, 23 Apr 2015 11:16:08 -0300 From: Arnaldo Carvalho de Melo To: Adrian Hunter Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, David Ahern , Frederic Weisbecker , Jiri Olsa , Namhyung Kim , Stephane Eranian Subject: Re: [PATCH 18/44] perf report: Add Instruction Tracing support Message-ID: <20150423141608.GD7881@kernel.org> References: <1428594864-29309-1-git-send-email-adrian.hunter@intel.com> <1428594864-29309-19-git-send-email-adrian.hunter@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1428594864-29309-19-git-send-email-adrian.hunter@intel.com> 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, Apr 09, 2015 at 06:53:58PM +0300, Adrian Hunter escreveu: > +++ b/tools/perf/Documentation/perf-report.txt > @@ -323,6 +323,34 @@ OPTIONS > --header-only:: > Show only perf.data header (forces --stdio). > > +-Z:: > +--itrace:: > + Options for decoding AUX area tracing data. The options are: > "how to display percentage of filtered entries", parse_filter_percentage), > + OPT_CALLBACK_OPTARG('Z', "itrace", &itrace_synth_opts, NULL, "opts", > + "Instruction Tracing options", > + itrace_parse_synth_opts), I am also making this be + OPT_CALLBACK_OPTARG(0, "itrace", &itrace_synth_opts, NULL, "opts", I.e. single letter options should be used for something more mainstrean/frequently used, and we can also shorten it, so far, to --it: [acme@ssdandy linux]$ perf script --i Error: Ambiguous option: i (could be --input or --itrace) usage: perf script [] or: perf script [] record