blob: 921245b28583e448cce49008b2482e0f59193454 [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);
Hitoshi Mitake11bd3412009-11-05 09:31:35 +090018extern int cmd_bench(int argc, const char **argv, const char *prefix);
Arnaldo Carvalho de Meloef12a142010-01-20 15:28:45 -020019extern int cmd_buildid_cache(int argc, const char **argv, const char *prefix);
Arnaldo Carvalho de Meloc34984b2009-11-16 16:32:45 -020020extern int cmd_buildid_list(int argc, const char **argv, const char *prefix);
Arnaldo Carvalho de Melo86a9eee2009-12-14 20:09:31 -020021extern int cmd_diff(int argc, const char **argv, const char *prefix);
Ingo Molnar6142fdd2009-04-20 16:05:55 +020022extern int cmd_help(int argc, const char **argv, const char *prefix);
Ingo Molnar0a02ad92009-09-11 12:12:54 +020023extern int cmd_sched(int argc, const char **argv, const char *prefix);
24extern int cmd_list(int argc, const char **argv, const char *prefix);
Ingo Molnare33e0a42009-04-20 15:58:01 +020025extern int cmd_record(int argc, const char **argv, const char *prefix);
Arnaldo Carvalho de Melo8fa66bd2009-05-18 12:45:42 -030026extern int cmd_report(int argc, const char **argv, const char *prefix);
Ingo Molnar1d8c8b22009-04-20 15:52:29 +020027extern int cmd_stat(int argc, const char **argv, const char *prefix);
Arjan van de Ven10274982009-09-12 07:53:05 +020028extern int cmd_timechart(int argc, const char **argv, const char *prefix);
Ingo Molnare33e0a42009-04-20 15:58:01 +020029extern int cmd_top(int argc, const char **argv, const char *prefix);
Frederic Weisbeckercd84c2a2009-08-12 10:03:49 +020030extern int cmd_trace(int argc, const char **argv, const char *prefix);
Ingo Molnar0a02ad92009-09-11 12:12:54 +020031extern int cmd_version(int argc, const char **argv, const char *prefix);
Masami Hiramatsu4ea42b12009-10-08 17:17:38 -040032extern int cmd_probe(int argc, const char **argv, const char *prefix);
Li Zefanba77c9e2009-11-20 15:53:25 +080033extern int cmd_kmem(int argc, const char **argv, const char *prefix);
Hitoshi Mitake9b5e3502010-01-30 20:43:33 +090034extern int cmd_lock(int argc, const char **argv, const char *prefix);
Zhang, Yanmina1645ce2010-04-19 13:32:50 +080035extern int cmd_kvm(int argc, const char **argv, const char *prefix);
Arnaldo Carvalho de Melo1c6a8002010-04-29 18:58:32 -030036extern int cmd_test(int argc, const char **argv, const char *prefix);
Tom Zanussi454c4072010-05-01 01:41:20 -050037extern int cmd_inject(int argc, const char **argv, const char *prefix);
Thomas Gleixner86847b62009-06-06 12:24:17 +020038
Ingo Molnar07800602009-04-20 15:00:56 +020039#endif