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