Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Ingo Molnar | 0780060 | 2009-04-20 15:00:56 +0200 | [diff] [blame] | 2 | #ifndef BUILTIN_H |
| 3 | #define BUILTIN_H |
| 4 | |
Ingo Molnar | 0780060 | 2009-04-20 15:00:56 +0200 | [diff] [blame] | 5 | extern const char perf_usage_string[]; |
| 6 | extern const char perf_more_info_string[]; |
| 7 | |
Arnaldo Carvalho de Melo | 3938bad | 2016-03-23 15:06:35 -0300 | [diff] [blame] | 8 | void list_common_cmds_help(void); |
| 9 | const char *help_unknown_cmd(const char *cmd); |
Ingo Molnar | 0780060 | 2009-04-20 15:00:56 +0200 | [diff] [blame] | 10 | |
Arnaldo Carvalho de Melo | b0ad8ea | 2017-03-27 11:47:20 -0300 | [diff] [blame] | 11 | int cmd_annotate(int argc, const char **argv); |
| 12 | int cmd_bench(int argc, const char **argv); |
| 13 | int cmd_buildid_cache(int argc, const char **argv); |
| 14 | int cmd_buildid_list(int argc, const char **argv); |
| 15 | int cmd_config(int argc, const char **argv); |
| 16 | int cmd_c2c(int argc, const char **argv); |
| 17 | int cmd_diff(int argc, const char **argv); |
| 18 | int cmd_evlist(int argc, const char **argv); |
| 19 | int cmd_help(int argc, const char **argv); |
| 20 | int cmd_sched(int argc, const char **argv); |
| 21 | int cmd_kallsyms(int argc, const char **argv); |
| 22 | int cmd_list(int argc, const char **argv); |
| 23 | int cmd_record(int argc, const char **argv); |
| 24 | int cmd_report(int argc, const char **argv); |
| 25 | int cmd_stat(int argc, const char **argv); |
| 26 | int cmd_timechart(int argc, const char **argv); |
| 27 | int cmd_top(int argc, const char **argv); |
| 28 | int cmd_script(int argc, const char **argv); |
| 29 | int cmd_version(int argc, const char **argv); |
| 30 | int cmd_probe(int argc, const char **argv); |
| 31 | int cmd_kmem(int argc, const char **argv); |
| 32 | int cmd_lock(int argc, const char **argv); |
| 33 | int cmd_kvm(int argc, const char **argv); |
| 34 | int cmd_test(int argc, const char **argv); |
| 35 | int cmd_trace(int argc, const char **argv); |
| 36 | int cmd_inject(int argc, const char **argv); |
| 37 | int cmd_mem(int argc, const char **argv); |
| 38 | int cmd_data(int argc, const char **argv); |
| 39 | int cmd_ftrace(int argc, const char **argv); |
Jiri Olsa | d450bc5 | 2021-02-08 21:08:45 +0100 | [diff] [blame] | 40 | int cmd_daemon(int argc, const char **argv); |
Thomas Gleixner | 86847b6 | 2009-06-06 12:24:17 +0200 | [diff] [blame] | 41 | |
Andi Kleen | 905e4af | 2019-03-11 07:45:01 -0700 | [diff] [blame] | 42 | int find_scripts(char **scripts_array, char **scripts_path_array, int num, |
| 43 | int pathlen); |
Ingo Molnar | 0780060 | 2009-04-20 15:00:56 +0200 | [diff] [blame] | 44 | #endif |