blob: b09cadbd76b17137c240d9a5a0291dd3176a82a3 [file] [log] [blame]
Ingo Molnar07800602009-04-20 15:00:56 +02001#ifndef BUILTIN_H
2#define BUILTIN_H
3
Ingo Molnar148be2c2009-04-27 08:02:14 +02004#include "util/util.h"
5#include "util/strbuf.h"
Ingo Molnar07800602009-04-20 15:00:56 +02006
7extern const char perf_version_string[];
8extern const char perf_usage_string[];
9extern const char perf_more_info_string[];
10
11extern void list_common_cmds_help(void);
12extern const char *help_unknown_cmd(const char *cmd);
13extern void prune_packed_objects(int);
14extern int read_line_with_nul(char *buf, int size, FILE *file);
15extern int check_pager_config(const char *cmd);
16
Ingo Molnar8035e422009-06-06 15:19:13 +020017extern int cmd_annotate(int argc, const char **argv, const char *prefix);
Ingo Molnar6142fdd2009-04-20 16:05:55 +020018extern int cmd_help(int argc, const char **argv, const char *prefix);
Ingo Molnar0a02ad92009-09-11 12:12:54 +020019extern int cmd_sched(int argc, const char **argv, const char *prefix);
20extern int cmd_list(int argc, const char **argv, const char *prefix);
Ingo Molnare33e0a42009-04-20 15:58:01 +020021extern int cmd_record(int argc, const char **argv, const char *prefix);
Arnaldo Carvalho de Melo8fa66bd2009-05-18 12:45:42 -030022extern int cmd_report(int argc, const char **argv, const char *prefix);
Ingo Molnar1d8c8b22009-04-20 15:52:29 +020023extern int cmd_stat(int argc, const char **argv, const char *prefix);
Ingo Molnare33e0a42009-04-20 15:58:01 +020024extern int cmd_top(int argc, const char **argv, const char *prefix);
Frederic Weisbeckercd84c2a2009-08-12 10:03:49 +020025extern int cmd_trace(int argc, const char **argv, const char *prefix);
Ingo Molnar0a02ad92009-09-11 12:12:54 +020026extern int cmd_version(int argc, const char **argv, const char *prefix);
Thomas Gleixner86847b62009-06-06 12:24:17 +020027
Ingo Molnar07800602009-04-20 15:00:56 +020028#endif