diff options
-rw-r--r-- | Documentation/perf_counter/builtin.h | 1 | ||||
-rw-r--r-- | Documentation/perf_counter/perf.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/perf_counter/builtin.h b/Documentation/perf_counter/builtin.h index 5854b1715f54..aec5ae388e66 100644 --- a/Documentation/perf_counter/builtin.h +++ b/Documentation/perf_counter/builtin.h | |||
@@ -17,4 +17,5 @@ extern int check_pager_config(const char *cmd); | |||
17 | extern int cmd_record(int argc, const char **argv, const char *prefix); | 17 | extern int cmd_record(int argc, const char **argv, const char *prefix); |
18 | extern int cmd_stat(int argc, const char **argv, const char *prefix); | 18 | extern int cmd_stat(int argc, const char **argv, const char *prefix); |
19 | extern int cmd_top(int argc, const char **argv, const char *prefix); | 19 | extern int cmd_top(int argc, const char **argv, const char *prefix); |
20 | extern int cmd_version(int argc, const char **argv, const char *prefix); | ||
20 | #endif | 21 | #endif |
diff --git a/Documentation/perf_counter/perf.c b/Documentation/perf_counter/perf.c index e849dd66b5ef..20d508c77293 100644 --- a/Documentation/perf_counter/perf.c +++ b/Documentation/perf_counter/perf.c | |||
@@ -5,7 +5,7 @@ | |||
5 | #include "run-command.h" | 5 | #include "run-command.h" |
6 | 6 | ||
7 | const char perf_usage_string[] = | 7 | const char perf_usage_string[] = |
8 | "perf [--version] [--exec-path[=PERF_EXEC_PATH]] [--html-path] [-p|--paginate|--no-pager] [--bare] [--perf-dir=PERF_DIR] [--work-tree=PERF_WORK_TREE] [--help] COMMAND [ARGS]"; | 8 | "perf [--version] [--help] COMMAND [ARGS]"; |
9 | 9 | ||
10 | const char perf_more_info_string[] = | 10 | const char perf_more_info_string[] = |
11 | "See 'perf help COMMAND' for more information on a specific command."; | 11 | "See 'perf help COMMAND' for more information on a specific command."; |
@@ -251,6 +251,7 @@ static void handle_internal_command(int argc, const char **argv) | |||
251 | { "record", cmd_record, 0 }, | 251 | { "record", cmd_record, 0 }, |
252 | { "stat", cmd_stat, 0 }, | 252 | { "stat", cmd_stat, 0 }, |
253 | { "top", cmd_top, 0 }, | 253 | { "top", cmd_top, 0 }, |
254 | { "version", cmd_version, 0 }, | ||
254 | }; | 255 | }; |
255 | int i; | 256 | int i; |
256 | static const char ext[] = STRIP_EXTENSION; | 257 | static const char ext[] = STRIP_EXTENSION; |