From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Taeung Song <treeze.taeung@gmail.com>
Cc: linux-kernel@vger.kernel.org, taeung@kosslab.kr,
Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>
Subject: Re: [PATCH RESEND] perf record: Fix documentation for a disused option '-l'
Date: Tue, 17 Oct 2017 09:06:52 -0300 [thread overview]
Message-ID: <20171017120652.GB4204@kernel.org> (raw)
In-Reply-To: <1507907412-19813-1-git-send-email-treeze.taeung@gmail.com>
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 <jolsa@kernel.org>
> Cc: Namhyung Kim <namhyung@kernel.org>
> Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
> ---
> 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=EVENT] [-l] [-a] <command>
> -'perf record' [-e <EVENT> | --event=EVENT] [-l] [-a] -- <command> [<options>]
> +'perf record' [-e <EVENT> | --event=EVENT] [-a] <command>
> +'perf record' [-e <EVENT> | --event=EVENT] [-a] -- <command> [<options>]
>
> DESCRIPTION
> -----------
> --
> 2.7.4
next prev parent reply other threads:[~2017-10-17 12:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-13 15:10 Taeung Song
2017-10-17 12:06 ` Arnaldo Carvalho de Melo [this message]
2017-10-20 7:20 ` [tip:perf/urgent] perf record: Fix documentation for a inexistent " tip-bot for Taeung Song
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171017120652.GB4204@kernel.org \
--to=acme@kernel.org \
--cc=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=namhyung@kernel.org \
--cc=taeung@kosslab.kr \
--cc=treeze.taeung@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome