blob: d32318aed8cf169dce2f789acb5cff73b743d5dd [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 Molnar6142fdd2009-04-20 16:05:55 +020017extern int cmd_help(int argc, const char **argv, const char *prefix);
Ingo Molnare33e0a42009-04-20 15:58:01 +020018extern int cmd_record(int argc, const char **argv, const char *prefix);
Ingo Molnar1d8c8b22009-04-20 15:52:29 +020019extern int cmd_stat(int argc, const char **argv, const char *prefix);
Ingo Molnare33e0a42009-04-20 15:58:01 +020020extern int cmd_top(int argc, const char **argv, const char *prefix);
Ingo Molnarcc13a592009-04-20 16:01:30 +020021extern int cmd_version(int argc, const char **argv, const char *prefix);
Ingo Molnar07800602009-04-20 15:00:56 +020022#endif