Lines Matching refs:tep_handle
59 struct tep_handle;
67 typedef int (*tep_plugin_load_func)(struct tep_handle *tep);
68 typedef int (*tep_plugin_unload_func)(struct tep_handle *tep);
281 struct tep_handle *tep;
396 struct tep_plugin_list *tep_load_plugins(struct tep_handle *tep);
398 struct tep_handle *tep);
411 void tep_set_flag(struct tep_handle *tep, int flag);
412 void tep_clear_flag(struct tep_handle *tep, enum tep_flag flag);
413 bool tep_test_flag(struct tep_handle *tep, enum tep_flag flags);
433 int tep_set_function_resolver(struct tep_handle *tep,
435 void tep_reset_function_resolver(struct tep_handle *tep);
436 int tep_register_comm(struct tep_handle *tep, const char *comm, int pid);
437 int tep_override_comm(struct tep_handle *tep, const char *comm, int pid);
438 int tep_register_function(struct tep_handle *tep, char *name,
440 int tep_register_print_string(struct tep_handle *tep, const char *fmt,
442 bool tep_is_pid_registered(struct tep_handle *tep, int pid);
444 struct tep_event *tep_get_event(struct tep_handle *tep, int index);
455 void tep_print_event(struct tep_handle *tep, struct trace_seq *s,
459 int tep_parse_header_page(struct tep_handle *tep, char *buf, unsigned long size,
462 enum tep_errno tep_parse_event(struct tep_handle *tep, const char *buf,
464 enum tep_errno tep_parse_format(struct tep_handle *tep,
496 int tep_register_event_handler(struct tep_handle *tep, int id,
499 int tep_unregister_event_handler(struct tep_handle *tep, int id,
502 int tep_register_print_function(struct tep_handle *tep,
506 int tep_unregister_print_function(struct tep_handle *tep,
513 const char *tep_find_function(struct tep_handle *tep, unsigned long long addr);
515 tep_find_function_address(struct tep_handle *tep, unsigned long long addr);
516 unsigned long long tep_read_number(struct tep_handle *tep, const void *ptr, int size);
520 struct tep_event *tep_get_first_event(struct tep_handle *tep);
521 int tep_get_events_count(struct tep_handle *tep);
522 struct tep_event *tep_find_event(struct tep_handle *tep, int id);
525 tep_find_event_by_name(struct tep_handle *tep, const char *sys, const char *name);
527 tep_find_event_by_record(struct tep_handle *tep, struct tep_record *record);
529 int tep_data_type(struct tep_handle *tep, struct tep_record *rec);
530 int tep_data_pid(struct tep_handle *tep, struct tep_record *rec);
531 int tep_data_preempt_count(struct tep_handle *tep, struct tep_record *rec);
532 int tep_data_flags(struct tep_handle *tep, struct tep_record *rec);
533 const char *tep_data_comm_from_pid(struct tep_handle *tep, int pid);
535 struct tep_cmdline *tep_data_pid_from_comm(struct tep_handle *tep, const char *comm,
537 int tep_cmdline_pid(struct tep_handle *tep, struct tep_cmdline *cmdline);
543 int tep_strerror(struct tep_handle *tep, enum tep_errno errnum,
546 struct tep_event **tep_list_events(struct tep_handle *tep, enum tep_event_sort_type);
547 struct tep_event **tep_list_events_copy(struct tep_handle *tep,
556 int tep_get_cpus(struct tep_handle *tep);
557 void tep_set_cpus(struct tep_handle *tep, int cpus);
558 int tep_get_long_size(struct tep_handle *tep);
559 void tep_set_long_size(struct tep_handle *tep, int long_size);
560 int tep_get_page_size(struct tep_handle *tep);
561 void tep_set_page_size(struct tep_handle *tep, int _page_size);
562 bool tep_is_file_bigendian(struct tep_handle *tep);
563 void tep_set_file_bigendian(struct tep_handle *tep, enum tep_endian endian);
564 bool tep_is_local_bigendian(struct tep_handle *tep);
565 void tep_set_local_bigendian(struct tep_handle *tep, enum tep_endian endian);
566 int tep_get_header_page_size(struct tep_handle *tep);
567 int tep_get_header_timestamp_size(struct tep_handle *tep);
568 bool tep_is_old_format(struct tep_handle *tep);
569 void tep_set_test_filters(struct tep_handle *tep, int test_filters);
571 struct tep_handle *tep_alloc(void);
572 void tep_free(struct tep_handle *tep);
573 void tep_ref(struct tep_handle *tep);
574 void tep_unref(struct tep_handle *tep);
575 int tep_get_ref(struct tep_handle *tep);
586 void tep_print_funcs(struct tep_handle *tep);
587 void tep_print_printk(struct tep_handle *tep);
714 struct tep_handle *tep;
720 struct tep_event_filter *tep_filter_alloc(struct tep_handle *tep);