diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2015-12-07 22:21:48 -0600 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-12-09 13:42:03 -0300 |
commit | 0a4bb5da957b83ece8b4723c5bac7a5d29fbfb33 (patch) | |
tree | 42b723883ba38f98c98b8a11a24948407a51bc78 /tools/perf/util/help.c | |
parent | 2bdb2c2729d2ba2f2f90b729d04254308096c5a0 (diff) |
perf tools: Move cmd_version() to builtin-version.c
Move cmd_version() to its own file so that help.c can be moved to a
library.
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/e908b1b68f20ab6d8d33941d5571c23110622e60.1449548395.git.jpoimboe@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/help.c')
-rw-r--r-- | tools/perf/util/help.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/perf/util/help.c b/tools/perf/util/help.c index fa1fc4acb8a4..929c93f2c333 100644 --- a/tools/perf/util/help.c +++ b/tools/perf/util/help.c @@ -332,10 +332,3 @@ const char *help_unknown_cmd(const char *cmd) exit(1); } - -int cmd_version(int argc __maybe_unused, const char **argv __maybe_unused, - const char *prefix __maybe_unused) -{ - printf("perf version %s\n", perf_version_string); - return 0; -} |