1 // SPDX-License-Identifier: LGPL-2.1
3 * Copyright (C) 2009, 2010 Red Hat Inc, Steven Rostedt <srostedt@redhat.com>
7 #ifndef _PARSE_EVENTS_INT_H
8 #define _PARSE_EVENTS_INT_H
20 int header_page_ts_offset
;
21 int header_page_ts_size
;
22 int header_page_size_offset
;
23 int header_page_size_size
;
24 int header_page_data_offset
;
25 int header_page_data_size
;
26 int header_page_overwrite
;
28 enum tep_endian file_bigendian
;
29 enum tep_endian host_bigendian
;
37 struct tep_cmdline
*cmdlines
;
38 struct cmdline_list
*cmdlist
;
41 struct func_map
*func_map
;
42 struct func_resolver
*func_resolver
;
43 struct func_list
*funclist
;
44 unsigned int func_count
;
46 struct printk_map
*printk_map
;
47 struct printk_list
*printklist
;
48 unsigned int printk_count
;
51 struct tep_event
**events
;
53 struct tep_event
**sort_events
;
54 enum tep_event_sort_type last_type
;
75 struct tep_format_field
*bprint_ip_field
;
76 struct tep_format_field
*bprint_fmt_field
;
77 struct tep_format_field
*bprint_buf_field
;
79 struct event_handler
*handlers
;
80 struct tep_function_handler
*func_handlers
;
83 struct tep_event
*last_event
;
86 void tep_free_event(struct tep_event
*event
);
87 void tep_free_format_field(struct tep_format_field
*field
);
89 unsigned short tep_data2host2(struct tep_handle
*tep
, unsigned short data
);
90 unsigned int tep_data2host4(struct tep_handle
*tep
, unsigned int data
);
91 unsigned long long tep_data2host8(struct tep_handle
*tep
, unsigned long long data
);
93 #endif /* _PARSE_EVENTS_INT_H */