summaryrefslogtreecommitdiff
path: root/Documentation/perf_counter/builtin.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-04-20 15:52:29 +0200
committerIngo Molnar <mingo@elte.hu>2009-04-20 17:36:49 +0200
commit1d8c8b209e9351a7de1307d7b9b6df4222b8d742 (patch)
tree43acf25217e2760bac99ced7575ad809d641f75f /Documentation/perf_counter/builtin.h
parentddcacfa0febff6454dba6cea1931f3020a9f6c24 (diff)
downloadlwn-1d8c8b209e9351a7de1307d7b9b6df4222b8d742.tar.gz
lwn-1d8c8b209e9351a7de1307d7b9b6df4222b8d742.zip
perf_counter tools: add help texts
Add Documentation/perf-stat.txt and Documentation/perf-top.txt. The template that was used for it: Documentation/git-add.txt from Git. Fix up small bugs to make these help texts show up both in the 'perf' common-command summary output screen, and on the individual help screens. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/perf_counter/builtin.h')
-rw-r--r--Documentation/perf_counter/builtin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/perf_counter/builtin.h b/Documentation/perf_counter/builtin.h
index a3bb6cd6bed3..605323c691f1 100644
--- a/Documentation/perf_counter/builtin.h
+++ b/Documentation/perf_counter/builtin.h
@@ -14,6 +14,6 @@ extern void prune_packed_objects(int);
extern int read_line_with_nul(char *buf, int size, FILE *file);
extern int check_pager_config(const char *cmd);
-extern int cmd_top(int argc, char **argv, const char *prefix);
-extern int cmd_stat(int argc, char **argv, const char *prefix);
+extern int cmd_top(int argc, const char **argv, const char *prefix);
+extern int cmd_stat(int argc, const char **argv, const char *prefix);
#endif