1#ifndef BUILTIN_H 2#define BUILTIN_H 3 4#include "util/util.h" 5#include "util/strbuf.h" 6 7extern const char perf_usage_string[]; 8extern const char perf_more_info_string[]; 9 10extern void list_common_cmds_help(void); 11extern const char *help_unknown_cmd(const char *cmd); 12extern void prune_packed_objects(int); 13extern int read_line_with_nul(char *buf, int size, FILE *file); 14extern int check_pager_config(const char *cmd); 15 16extern int cmd_annotate(int argc, const char **argv, const char *prefix); 17extern int cmd_bench(int argc, const char **argv, const char *prefix); 18extern int cmd_buildid_cache(int argc, const char **argv, const char *prefix); 19extern int cmd_buildid_list(int argc, const char **argv, const char *prefix); 20extern int cmd_diff(int argc, const char **argv, const char *prefix); 21extern int cmd_evlist(int argc, const char **argv, const char *prefix); 22extern int cmd_help(int argc, const char **argv, const char *prefix); 23extern int cmd_sched(int argc, const char **argv, const char *prefix); 24extern int cmd_list(int argc, const char **argv, const char *prefix); 25extern int cmd_record(int argc, const char **argv, const char *prefix); 26extern int cmd_report(int argc, const char **argv, const char *prefix); 27extern int cmd_stat(int argc, const char **argv, const char *prefix); 28extern int cmd_timechart(int argc, const char **argv, const char *prefix); 29extern int cmd_top(int argc, const char **argv, const char *prefix); 30extern int cmd_script(int argc, const char **argv, const char *prefix); 31extern int cmd_version(int argc, const char **argv, const char *prefix); 32extern int cmd_probe(int argc, const char **argv, const char *prefix); 33extern int cmd_kmem(int argc, const char **argv, const char *prefix); 34extern int cmd_lock(int argc, const char **argv, const char *prefix); 35extern int cmd_kvm(int argc, const char **argv, const char *prefix); 36extern int cmd_test(int argc, const char **argv, const char *prefix); 37extern int cmd_trace(int argc, const char **argv, const char *prefix); 38extern int cmd_inject(int argc, const char **argv, const char *prefix); 39extern int cmd_mem(int argc, const char **argv, const char *prefix); 40extern int cmd_data(int argc, const char **argv, const char *prefix); 41 42extern int find_scripts(char **scripts_array, char **scripts_path_array); 43#endif 44