blob: d4d19fe3d050a86e2f0d868e1729a6c5fbb95cb8 [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"
Ingo Molnar07800602009-04-20 15:00:56 +02005
Ingo Molnar07800602009-04-20 15:00:56 +02006extern const char perf_usage_string[];
7extern const char perf_more_info_string[];
8
Arnaldo Carvalho de Melo3938bad2016-03-23 15:06:35 -03009void list_common_cmds_help(void);
10const char *help_unknown_cmd(const char *cmd);
Ingo Molnar07800602009-04-20 15:00:56 +020011
Arnaldo Carvalho de Melob0ad8ea2017-03-27 11:47:20 -030012int cmd_annotate(int argc, const char **argv);
13int cmd_bench(int argc, const char **argv);
14int cmd_buildid_cache(int argc, const char **argv);
15int cmd_buildid_list(int argc, const char **argv);
16int cmd_config(int argc, const char **argv);
17int cmd_c2c(int argc, const char **argv);
18int cmd_diff(int argc, const char **argv);
19int cmd_evlist(int argc, const char **argv);
20int cmd_help(int argc, const char **argv);
21int cmd_sched(int argc, const char **argv);
22int cmd_kallsyms(int argc, const char **argv);
23int cmd_list(int argc, const char **argv);
24int cmd_record(int argc, const char **argv);
25int cmd_report(int argc, const char **argv);
26int cmd_stat(int argc, const char **argv);
27int cmd_timechart(int argc, const char **argv);
28int cmd_top(int argc, const char **argv);
29int cmd_script(int argc, const char **argv);
30int cmd_version(int argc, const char **argv);
31int cmd_probe(int argc, const char **argv);
32int cmd_kmem(int argc, const char **argv);
33int cmd_lock(int argc, const char **argv);
34int cmd_kvm(int argc, const char **argv);
35int cmd_test(int argc, const char **argv);
36int cmd_trace(int argc, const char **argv);
37int cmd_inject(int argc, const char **argv);
38int cmd_mem(int argc, const char **argv);
39int cmd_data(int argc, const char **argv);
40int cmd_ftrace(int argc, const char **argv);
Thomas Gleixner86847b62009-06-06 12:24:17 +020041
Arnaldo Carvalho de Melo3938bad2016-03-23 15:06:35 -030042int find_scripts(char **scripts_array, char **scripts_path_array);
Ingo Molnar07800602009-04-20 15:00:56 +020043#endif