Lines Matching refs:tep_handle
149 static int cmdline_init(struct tep_handle *pevent) in cmdline_init()
178 static const char *find_cmdline(struct tep_handle *pevent, int pid) in find_cmdline()
207 int tep_pid_is_registered(struct tep_handle *pevent, int pid) in tep_pid_is_registered()
233 static int add_new_comm(struct tep_handle *pevent, const char *comm, int pid) in add_new_comm()
285 int tep_register_comm(struct tep_handle *pevent, const char *comm, int pid) in tep_register_comm()
313 int tep_register_trace_clock(struct tep_handle *pevent, const char *trace_clock) in tep_register_trace_clock()
370 static int func_map_init(struct tep_handle *pevent) in func_map_init()
410 __find_func(struct tep_handle *pevent, unsigned long long addr) in __find_func()
442 int tep_set_function_resolver(struct tep_handle *pevent, in tep_set_function_resolver()
466 void tep_reset_function_resolver(struct tep_handle *pevent) in tep_reset_function_resolver()
473 find_func(struct tep_handle *pevent, unsigned long long addr) in find_func()
500 const char *tep_find_function(struct tep_handle *pevent, unsigned long long addr) in tep_find_function()
521 tep_find_function_address(struct tep_handle *pevent, unsigned long long addr) in tep_find_function_address()
542 int tep_register_function(struct tep_handle *pevent, char *func, in tep_register_function()
583 void tep_print_funcs(struct tep_handle *pevent) in tep_print_funcs()
625 static int printk_map_init(struct tep_handle *pevent) in printk_map_init()
657 find_printk(struct tep_handle *pevent, unsigned long long addr) in find_printk()
682 int tep_register_print_string(struct tep_handle *pevent, const char *fmt, in tep_register_print_string()
726 void tep_print_printk(struct tep_handle *pevent) in tep_print_printk()
745 static int add_event(struct tep_handle *pevent, struct event_format *event) in add_event()
2904 find_func_handler(struct tep_handle *pevent, char *func_name) in find_func_handler()
2919 static void remove_func_handler(struct tep_handle *pevent, char *func_name) in remove_func_handler()
3326 unsigned long long tep_read_number(struct tep_handle *pevent, in tep_read_number()
3373 static int get_common_info(struct tep_handle *pevent, in get_common_info()
3399 static int __parse_common(struct tep_handle *pevent, void *data, in __parse_common()
3412 static int trace_parse_common_type(struct tep_handle *pevent, void *data) in trace_parse_common_type()
3419 static int parse_common_pid(struct tep_handle *pevent, void *data) in parse_common_pid()
3426 static int parse_common_pc(struct tep_handle *pevent, void *data) in parse_common_pc()
3433 static int parse_common_flags(struct tep_handle *pevent, void *data) in parse_common_flags()
3440 static int parse_common_lock_depth(struct tep_handle *pevent, void *data) in parse_common_lock_depth()
3447 static int parse_common_migrate_disable(struct tep_handle *pevent, void *data) in parse_common_migrate_disable()
3463 struct event_format *tep_find_event(struct tep_handle *pevent, int id) in tep_find_event()
3496 tep_find_event_by_name(struct tep_handle *pevent, in tep_find_event_by_name()
3526 struct tep_handle *pevent = event->pevent; in eval_num_arg()
3809 static void print_bitmask_to_seq(struct tep_handle *pevent, in print_bitmask_to_seq()
3867 struct tep_handle *pevent = event->pevent; in print_str_arg()
4216 struct tep_handle *pevent = event->pevent; in make_bprint_args()
4393 struct tep_handle *pevent = event->pevent; in get_bprint_format()
4794 struct tep_handle *pevent = field->event->pevent; in tep_print_field()
4869 struct tep_handle *pevent = event->pevent; in pretty_print()
5138 void tep_data_lat_fmt(struct tep_handle *pevent, in tep_data_lat_fmt()
5218 int tep_data_type(struct tep_handle *pevent, struct tep_record *rec) in tep_data_type()
5230 struct event_format *tep_data_event_from_type(struct tep_handle *pevent, int type) in tep_data_event_from_type()
5242 int tep_data_pid(struct tep_handle *pevent, struct tep_record *rec) in tep_data_pid()
5254 int tep_data_preempt_count(struct tep_handle *pevent, struct tep_record *rec) in tep_data_preempt_count()
5268 int tep_data_flags(struct tep_handle *pevent, struct tep_record *rec) in tep_data_flags()
5281 const char *tep_data_comm_from_pid(struct tep_handle *pevent, int pid) in tep_data_comm_from_pid()
5290 pid_from_cmdlist(struct tep_handle *pevent, const char *comm, struct cmdline *next) in pid_from_cmdlist()
5318 struct cmdline *tep_data_pid_from_comm(struct tep_handle *pevent, const char *comm, in tep_data_pid_from_comm()
5360 int tep_cmdline_pid(struct tep_handle *pevent, struct cmdline *cmdline) in tep_cmdline_pid()
5430 tep_find_event_by_record(struct tep_handle *pevent, struct tep_record *record) in tep_find_event_by_record()
5453 void tep_print_event_task(struct tep_handle *pevent, struct trace_seq *s, in tep_print_event_task()
5481 void tep_print_event_time(struct tep_handle *pevent, struct trace_seq *s, in tep_print_event_time()
5531 void tep_print_event_data(struct tep_handle *pevent, struct trace_seq *s, in tep_print_event_data()
5548 void tep_print_event(struct tep_handle *pevent, struct trace_seq *s, in tep_print_event()
5619 struct event_format **tep_list_events(struct tep_handle *pevent, enum event_sort_type sort_type) in tep_list_events()
5930 int tep_parse_header_page(struct tep_handle *pevent, char *buf, unsigned long size, in tep_parse_header_page()
5983 static int find_event_handle(struct tep_handle *pevent, struct event_format *event) in find_event_handle()
6025 struct tep_handle *pevent, const char *buf, in __tep_parse_format()
6132 __parse_event(struct tep_handle *pevent, in __parse_event()
6174 enum tep_errno tep_parse_format(struct tep_handle *pevent, in tep_parse_format()
6196 enum tep_errno tep_parse_event(struct tep_handle *pevent, const char *buf, in tep_parse_event()
6210 int tep_strerror(struct tep_handle *pevent __maybe_unused, in tep_strerror()
6424 struct tep_handle *pevent = event->pevent; in tep_print_func_field()
6480 int tep_register_print_function(struct tep_handle *pevent, in tep_register_print_function()
6567 int tep_unregister_print_function(struct tep_handle *pevent, in tep_unregister_print_function()
6580 static struct event_format *search_event(struct tep_handle *pevent, int id, in search_event()
6620 int tep_register_event_handler(struct tep_handle *pevent, int id, in tep_register_event_handler()
6704 int tep_unregister_event_handler(struct tep_handle *pevent, int id, in tep_unregister_event_handler()
6745 struct tep_handle *tep_alloc(void) in tep_alloc()
6747 struct tep_handle *pevent = calloc(1, sizeof(*pevent)); in tep_alloc()
6755 void tep_ref(struct tep_handle *pevent) in tep_ref()
6803 void tep_free(struct tep_handle *pevent) in tep_free()
6888 void tep_unref(struct tep_handle *pevent) in tep_unref()