All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf tool: Add missing subcommand `version`
@ 2018-09-19  7:49 Sangwon Hong
  2018-09-19 18:05 ` Arnaldo Carvalho de Melo
  2018-09-26  8:42 ` [tip:perf/core] perf help: " tip-bot for Sangwon Hong
  0 siblings, 2 replies; 3+ messages in thread
From: Sangwon Hong @ 2018-09-19  7:49 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, Jiri Olsa, Namhyung Kim, Jin Yao, Sangwon Hong

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>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Jin Yao <yao.jin@linux.intel.com>
---
 tools/perf/command-list.txt | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] perf tool: Add missing subcommand `version`
  2018-09-19  7:49 [PATCH] perf tool: Add missing subcommand `version` Sangwon Hong
@ 2018-09-19 18:05 ` Arnaldo Carvalho de Melo
  2018-09-26  8:42 ` [tip:perf/core] perf help: " tip-bot for Sangwon Hong
  1 sibling, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2018-09-19 18:05 UTC (permalink / raw)
  To: Sangwon Hong; +Cc: linux-kernel, Jiri Olsa, Namhyung Kim, Jin Yao

Em Wed, Sep 19, 2018 at 12:49:11AM -0700, Sangwon Hong escreveu:
> 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

Thanks, applied.

- Arnaldo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip:perf/core] perf help: Add missing subcommand `version`
  2018-09-19  7:49 [PATCH] perf tool: Add missing subcommand `version` Sangwon Hong
  2018-09-19 18:05 ` Arnaldo Carvalho de Melo
@ 2018-09-26  8:42 ` tip-bot for Sangwon Hong
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Sangwon Hong @ 2018-09-26  8:42 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, mingo, namhyung, jolsa, hpa, yao.jin, tglx, acme,
	qpakzk

Commit-ID:  3b9c25c0a04675c5d8d4390d9d9b661135751b27
Gitweb:     https://git.kernel.org/tip/3b9c25c0a04675c5d8d4390d9d9b661135751b27
Author:     Sangwon Hong <qpakzk@gmail.com>
AuthorDate: Wed, 19 Sep 2018 00:49:11 -0700
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Wed, 19 Sep 2018 14:53:36 -0300

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>
---
 tools/perf/command-list.txt | 1 +
 1 file changed, 1 insertion(+)

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-09-26  8:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-19  7:49 [PATCH] perf tool: Add missing subcommand `version` Sangwon Hong
2018-09-19 18:05 ` Arnaldo Carvalho de Melo
2018-09-26  8:42 ` [tip:perf/core] perf help: " tip-bot for Sangwon Hong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.