From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753712AbdDMNvR (ORCPT ); Thu, 13 Apr 2017 09:51:17 -0400 Received: from mail.kernel.org ([198.145.29.136]:34916 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753430AbdDMNvJ (ORCPT ); Thu, 13 Apr 2017 09:51:09 -0400 Date: Thu, 13 Apr 2017 10:51:03 -0300 From: Arnaldo Carvalho de Melo To: Ravi Bangoria Cc: peterz@infradead.org, mingo@redhat.com, alexander.shishkin@linux.intel.com, alexis.berlemont@gmail.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf trace: Add usage of --no-syscalls in man page Message-ID: <20170413135103.GO3275@kernel.org> References: <1492063332-5745-1-git-send-email-ravi.bangoria@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1492063332-5745-1-git-send-email-ravi.bangoria@linux.vnet.ibm.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Apr 13, 2017 at 11:32:12AM +0530, Ravi Bangoria escreveu: > perf trace supports --no-syscalls option but it's not listed in > the man page. (Though, I see an example using --no-syscalls in > EXAMPLES section.) Thanks, applied. I'm thinking about making --no-syscalls the default when 'trace' is hardlinked to 'perf', i.e. 'perf trace' remains as it is, but if one calls 'trace', then --no-syscalls is the default, as after non-syscall events got supported I find myself using --no-syscalls way too often, what do you think? Or perhaps have a 'perf strace' to try to have as much in common with 'strace' in terms of default behaviour, options, etc? - Arnaldo > Signed-off-by: Ravi Bangoria > --- > tools/perf/Documentation/perf-trace.txt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/tools/perf/Documentation/perf-trace.txt b/tools/perf/Documentation/perf-trace.txt > index afd7286..c1e3288 100644 > --- a/tools/perf/Documentation/perf-trace.txt > +++ b/tools/perf/Documentation/perf-trace.txt > @@ -123,7 +123,8 @@ the thread executes on the designated CPUs. Default is to monitor all CPUs. > major or all pagefaults. Default value is maj. > > --syscalls:: > - Trace system calls. This options is enabled by default. > + Trace system calls. This options is enabled by default, disable with > + --no-syscalls. > > --call-graph [mode,type,min[,limit],order[,key][,branch]]:: > Setup and enable call-graph (stack chain/backtrace) recording. > -- > 2.1.4