Ingo Molnar | 0780060 | 2009-04-20 15:00:56 +0200 | [diff] [blame] | 1 | #ifndef BUILTIN_H |
| 2 | #define BUILTIN_H |
| 3 | |
Ingo Molnar | 148be2c | 2009-04-27 08:02:14 +0200 | [diff] [blame] | 4 | #include "util/util.h" |
| 5 | #include "util/strbuf.h" |
Ingo Molnar | 0780060 | 2009-04-20 15:00:56 +0200 | [diff] [blame] | 6 | |
| 7 | extern const char perf_version_string[]; |
| 8 | extern const char perf_usage_string[]; |
| 9 | extern const char perf_more_info_string[]; |
| 10 | |
| 11 | extern void list_common_cmds_help(void); |
| 12 | extern const char *help_unknown_cmd(const char *cmd); |
| 13 | extern void prune_packed_objects(int); |
| 14 | extern int read_line_with_nul(char *buf, int size, FILE *file); |
| 15 | extern int check_pager_config(const char *cmd); |
| 16 | |
Ingo Molnar | 6142fdd | 2009-04-20 16:05:55 +0200 | [diff] [blame] | 17 | extern int cmd_help(int argc, const char **argv, const char *prefix); |
Ingo Molnar | e33e0a4 | 2009-04-20 15:58:01 +0200 | [diff] [blame] | 18 | extern int cmd_record(int argc, const char **argv, const char *prefix); |
Ingo Molnar | 1d8c8b2 | 2009-04-20 15:52:29 +0200 | [diff] [blame] | 19 | extern int cmd_stat(int argc, const char **argv, const char *prefix); |
Ingo Molnar | e33e0a4 | 2009-04-20 15:58:01 +0200 | [diff] [blame] | 20 | extern int cmd_top(int argc, const char **argv, const char *prefix); |
Ingo Molnar | cc13a59 | 2009-04-20 16:01:30 +0200 | [diff] [blame] | 21 | extern int cmd_version(int argc, const char **argv, const char *prefix); |
Ingo Molnar | 0780060 | 2009-04-20 15:00:56 +0200 | [diff] [blame] | 22 | #endif |