perf record: Remove a disused option '-l'
PATCH 1/1 perf record: Remove a disused option '-l'
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.
$ perf record -e cycles -l sleep 3
Error: unknown switch `lCc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Signed-off-by Taeung Song <[email protected]>
--- tools/perf/Documentation/perf-record.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tools/perf/Documentation/perf-record.txt +2 -2
@@ -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 -----------
Signature · 1 line
2.7.4