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 | 8035e42 | 2009-06-06 15:19:13 +0200 | [diff] [blame] | 17 | extern int cmd_annotate(int argc, const char **argv, const char *prefix); |
Ingo Molnar | 6142fdd | 2009-04-20 16:05:55 +0200 | [diff] [blame] | 18 | extern int cmd_help(int argc, const char **argv, const char *prefix); |
Ingo Molnar | 0a02ad9 | 2009-09-11 12:12:54 +0200 | [diff] [blame] | 19 | extern int cmd_sched(int argc, const char **argv, const char *prefix); |
| 20 | extern int cmd_list(int argc, const char **argv, const char *prefix); |
Ingo Molnar | e33e0a4 | 2009-04-20 15:58:01 +0200 | [diff] [blame] | 21 | extern int cmd_record(int argc, const char **argv, const char *prefix); |
Arnaldo Carvalho de Melo | 8fa66bd | 2009-05-18 12:45:42 -0300 | [diff] [blame] | 22 | extern int cmd_report(int argc, const char **argv, const char *prefix); |
Ingo Molnar | 1d8c8b2 | 2009-04-20 15:52:29 +0200 | [diff] [blame] | 23 | extern int cmd_stat(int argc, const char **argv, const char *prefix); |
Ingo Molnar | e33e0a4 | 2009-04-20 15:58:01 +0200 | [diff] [blame] | 24 | extern int cmd_top(int argc, const char **argv, const char *prefix); |
Frederic Weisbecker | cd84c2a | 2009-08-12 10:03:49 +0200 | [diff] [blame] | 25 | extern int cmd_trace(int argc, const char **argv, const char *prefix); |
Ingo Molnar | 0a02ad9 | 2009-09-11 12:12:54 +0200 | [diff] [blame] | 26 | extern int cmd_version(int argc, const char **argv, const char *prefix); |
Thomas Gleixner | 86847b6 | 2009-06-06 12:24:17 +0200 | [diff] [blame] | 27 | |
Ingo Molnar | 0780060 | 2009-04-20 15:00:56 +0200 | [diff] [blame] | 28 | #endif |