builtin.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. void list_common_cmds_help(void);
  8. const char *help_unknown_cmd(const char *cmd);
  9. void prune_packed_objects(int);
  10. int read_line_with_nul(char *buf, int size, FILE *file);
  11. int check_pager_config(const char *cmd);
  12. int cmd_annotate(int argc, const char **argv, const char *prefix);
  13. int cmd_bench(int argc, const char **argv, const char *prefix);
  14. int cmd_buildid_cache(int argc, const char **argv, const char *prefix);
  15. int cmd_buildid_list(int argc, const char **argv, const char *prefix);
  16. int cmd_config(int argc, const char **argv, const char *prefix);
  17. int cmd_diff(int argc, const char **argv, const char *prefix);
  18. int cmd_evlist(int argc, const char **argv, const char *prefix);
  19. int cmd_help(int argc, const char **argv, const char *prefix);
  20. int cmd_sched(int argc, const char **argv, const char *prefix);
  21. int cmd_list(int argc, const char **argv, const char *prefix);
  22. int cmd_record(int argc, const char **argv, const char *prefix);
  23. int cmd_report(int argc, const char **argv, const char *prefix);
  24. int cmd_stat(int argc, const char **argv, const char *prefix);
  25. int cmd_timechart(int argc, const char **argv, const char *prefix);
  26. int cmd_top(int argc, const char **argv, const char *prefix);
  27. int cmd_script(int argc, const char **argv, const char *prefix);
  28. int cmd_version(int argc, const char **argv, const char *prefix);
  29. int cmd_probe(int argc, const char **argv, const char *prefix);
  30. int cmd_kmem(int argc, const char **argv, const char *prefix);
  31. int cmd_lock(int argc, const char **argv, const char *prefix);
  32. int cmd_kvm(int argc, const char **argv, const char *prefix);
  33. int cmd_test(int argc, const char **argv, const char *prefix);
  34. int cmd_trace(int argc, const char **argv, const char *prefix);
  35. int cmd_inject(int argc, const char **argv, const char *prefix);
  36. int cmd_mem(int argc, const char **argv, const char *prefix);
  37. int cmd_data(int argc, const char **argv, const char *prefix);
  38. int find_scripts(char **scripts_array, char **scripts_path_array);
  39. #endif