From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935537AbdJQMG6 (ORCPT ); Tue, 17 Oct 2017 08:06:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:39378 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932913AbdJQMG5 (ORCPT ); Tue, 17 Oct 2017 08:06:57 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 92517218B2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=acme@kernel.org Date: Tue, 17 Oct 2017 09:06:52 -0300 From: Arnaldo Carvalho de Melo To: Taeung Song Cc: linux-kernel@vger.kernel.org, taeung@kosslab.kr, Jiri Olsa , Namhyung Kim Subject: Re: [PATCH RESEND] perf record: Fix documentation for a disused option '-l' Message-ID: <20171017120652.GB4204@kernel.org> References: <1507907412-19813-1-git-send-email-treeze.taeung@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1507907412-19813-1-git-send-email-treeze.taeung@gmail.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Sat, Oct 14, 2017 at 12:10:12AM +0900, Taeung Song escreveu: > perf-record had a '-l' option that mean "scale counter values" > very long time ago, but it currently belong to perf-stat as '-c'. > So remove it. I found this problem in the below case. Applied, - Arnaldo > $ perf record -e cycles -l sleep 3 > Error: unknown switch `l > > Cc: Jiri Olsa > Cc: Namhyung Kim > Signed-off-by: Taeung Song > --- > tools/perf/Documentation/perf-record.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt > index 68a1ffb..5a626ef 100644 > --- a/tools/perf/Documentation/perf-record.txt > +++ b/tools/perf/Documentation/perf-record.txt > @@ -8,8 +8,8 @@ perf-record - Run a command and record its profile into perf.data > SYNOPSIS > -------- > [verse] > -'perf record' [-e | --event=EVENT] [-l] [-a] > -'perf record' [-e | --event=EVENT] [-l] [-a] -- [] > +'perf record' [-e | --event=EVENT] [-a] > +'perf record' [-e | --event=EVENT] [-a] -- [] > > DESCRIPTION > ----------- > -- > 2.7.4