symbol_conf.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __PERF_SYMBOL_CONF
  3. #define __PERF_SYMBOL_CONF 1
  4. #include <stdbool.h>
  5. struct strlist;
  6. struct intlist;
  7. struct symbol_conf {
  8. bool nanosecs;
  9. unsigned short priv_size;
  10. bool try_vmlinux_path,
  11. init_annotation,
  12. force,
  13. ignore_vmlinux,
  14. ignore_vmlinux_buildid,
  15. show_kernel_path,
  16. use_modules,
  17. allow_aliases,
  18. sort_by_name,
  19. show_nr_samples,
  20. show_total_period,
  21. use_callchain,
  22. cumulate_callchain,
  23. show_branchflag_count,
  24. exclude_other,
  25. show_cpu_utilization,
  26. initialized,
  27. kptr_restrict,
  28. event_group,
  29. demangle,
  30. demangle_kernel,
  31. filter_relative,
  32. show_hist_headers,
  33. branch_callstack,
  34. has_filter,
  35. show_ref_callgraph,
  36. hide_unresolved,
  37. raw_trace,
  38. report_hierarchy,
  39. report_block,
  40. inline_name,
  41. disable_add2line_warn;
  42. const char *vmlinux_name,
  43. *kallsyms_name,
  44. *source_prefix,
  45. *field_sep,
  46. *graph_function;
  47. const char *default_guest_vmlinux_name,
  48. *default_guest_kallsyms,
  49. *default_guest_modules;
  50. const char *guestmount;
  51. const char *dso_list_str,
  52. *comm_list_str,
  53. *pid_list_str,
  54. *tid_list_str,
  55. *sym_list_str,
  56. *col_width_list_str,
  57. *bt_stop_list_str;
  58. unsigned long time_quantum;
  59. struct strlist *dso_list,
  60. *comm_list,
  61. *sym_list,
  62. *dso_from_list,
  63. *dso_to_list,
  64. *sym_from_list,
  65. *sym_to_list,
  66. *bt_stop_list;
  67. struct intlist *pid_list,
  68. *tid_list;
  69. const char *symfs;
  70. int res_sample;
  71. int pad_output_len_dso;
  72. };
  73. extern struct symbol_conf symbol_conf;
  74. #endif // __PERF_SYMBOL_CONF