builtin.h 2.2 KB

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