summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
authorSangwon Hong <qpakzk@gmail.com>2018-09-19 00:49:11 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-09-19 14:53:36 -0300
commit3b9c25c0a04675c5d8d4390d9d9b661135751b27 (patch)
tree599bd83a6b9def90b924cfa874983ac36a09a561 /tools
parent24ef0fd0a1f389b156e6ef0edd71072728831bd9 (diff)
downloadlinux-3b9c25c0a04675c5d8d4390d9d9b661135751b27.tar.gz
perf help: Add missing subcommand `version`
There isn't subcommand `version` when typing `perf help`.

Before :

  $ perf help | grep version
   usage: perf [--version] [--help] [OPTIONS] COMMAND [ARGS]

So add perf-version in command-list.txt for listing it when typing `perf
help`.

After :

$ perf help | grep version

 usage: perf [--version] [--help] [OPTIONS] COMMAND [ARGS]
   version         display the version of perf binary

Signed-off-by: Sangwon Hong <qpakzk@gmail.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20180919074911.41931-1-qpakzk@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/command-list.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/command-list.txt b/tools/perf/command-list.txt
index 2d0caf20ff3a..bc6c585f74fc 100644
--- a/tools/perf/command-list.txt
+++ b/tools/perf/command-list.txt
@@ -30,3 +30,4 @@ perf-test			mainporcelain common
 perf-timechart			mainporcelain common
 perf-top			mainporcelain common
 perf-trace			mainporcelain audit
+perf-version			mainporcelain common