blob: 7303e80a639c67abcc54138e0949ed0e2c3f55ef [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Ingo Molnar07800602009-04-20 15:00:56 +02002#ifndef BUILTIN_H
3#define BUILTIN_H
4
Ingo Molnar07800602009-04-20 15:00:56 +02005extern const char perf_usage_string[];
6extern const char perf_more_info_string[];
7
Arnaldo Carvalho de Melo3938bad2016-03-23 15:06:35 -03008void list_common_cmds_help(void);
9const char *help_unknown_cmd(const char *cmd);
Ingo Molnar07800602009-04-20 15:00:56 +020010
Arnaldo Carvalho de Melob0ad8ea2017-03-27 11:47:20 -030011int cmd_annotate(int argc, const char **argv);
12int cmd_bench(int argc, const char **argv);
13int cmd_buildid_cache(int argc, const char **argv);
14int cmd_buildid_list(int argc, const char **argv);
15int cmd_config(int argc, const char **argv);
16int cmd_c2c(int argc, const char **argv);
17int cmd_diff(int argc, const char **argv);
18int cmd_evlist(int argc, const char **argv);
19int cmd_help(int argc, const char **argv);
20int cmd_sched(int argc, const char **argv);
21int cmd_kallsyms(int argc, const char **argv);
22int cmd_list(int argc, const char **argv);
23int cmd_record(int argc, const char **argv);
24int cmd_report(int argc, const char **argv);
25int cmd_stat(int argc, const char **argv);
26int cmd_timechart(int argc, const char **argv);
27int cmd_top(int argc, const char **argv);
28int cmd_script(int argc, const char **argv);
29int cmd_version(int argc, const char **argv);
30int cmd_probe(int argc, const char **argv);
31int cmd_kmem(int argc, const char **argv);
32int cmd_lock(int argc, const char **argv);
33int cmd_kvm(int argc, const char **argv);
34int cmd_test(int argc, const char **argv);
35int cmd_trace(int argc, const char **argv);
36int cmd_inject(int argc, const char **argv);
37int cmd_mem(int argc, const char **argv);
38int cmd_data(int argc, const char **argv);
39int cmd_ftrace(int argc, const char **argv);
Jiri Olsad450bc52021-02-08 21:08:45 +010040int cmd_daemon(int argc, const char **argv);
Thomas Gleixner86847b62009-06-06 12:24:17 +020041
Andi Kleen905e4af2019-03-11 07:45:01 -070042int find_scripts(char **scripts_array, char **scripts_path_array, int num,
43 int pathlen);
Ingo Molnar07800602009-04-20 15:00:56 +020044#endif