event-parse-local.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. // SPDX-License-Identifier: LGPL-2.1
  2. /*
  3. * Copyright (C) 2009, 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com>
  4. *
  5. */
  6. #ifndef _PARSE_EVENTS_INT_H
  7. #define _PARSE_EVENTS_INT_H
  8. struct cmdline;
  9. struct cmdline_list;
  10. struct func_map;
  11. struct func_list;
  12. struct event_handler;
  13. struct func_resolver;
  14. struct tep_handle {
  15. int ref_count;
  16. int header_page_ts_offset;
  17. int header_page_ts_size;
  18. int header_page_size_offset;
  19. int header_page_size_size;
  20. int header_page_data_offset;
  21. int header_page_data_size;
  22. int header_page_overwrite;
  23. enum tep_endian file_bigendian;
  24. enum tep_endian host_bigendian;
  25. int latency_format;
  26. int old_format;
  27. int cpus;
  28. int long_size;
  29. int page_size;
  30. struct cmdline *cmdlines;
  31. struct cmdline_list *cmdlist;
  32. int cmdline_count;
  33. struct func_map *func_map;
  34. struct func_resolver *func_resolver;
  35. struct func_list *funclist;
  36. unsigned int func_count;
  37. struct printk_map *printk_map;
  38. struct printk_list *printklist;
  39. unsigned int printk_count;
  40. struct tep_event_format **events;
  41. int nr_events;
  42. struct tep_event_format **sort_events;
  43. enum tep_event_sort_type last_type;
  44. int type_offset;
  45. int type_size;
  46. int pid_offset;
  47. int pid_size;
  48. int pc_offset;
  49. int pc_size;
  50. int flags_offset;
  51. int flags_size;
  52. int ld_offset;
  53. int ld_size;
  54. int print_raw;
  55. int test_filters;
  56. int flags;
  57. struct tep_format_field *bprint_ip_field;
  58. struct tep_format_field *bprint_fmt_field;
  59. struct tep_format_field *bprint_buf_field;
  60. struct event_handler *handlers;
  61. struct tep_function_handler *func_handlers;
  62. /* cache */
  63. struct tep_event_format *last_event;
  64. char *trace_clock;
  65. };
  66. #endif /* _PARSE_EVENTS_INT_H */