Lines Matching refs:tep_handle

101 struct tep_handle;
109 typedef int (*tep_plugin_load_func)(struct tep_handle *pevent);
110 typedef int (*tep_plugin_unload_func)(struct tep_handle *pevent);
323 struct tep_handle *pevent;
438 struct plugin_list *tep_load_plugins(struct tep_handle *pevent);
440 struct tep_handle *pevent);
460 struct tep_handle { struct
535 static inline void tep_set_flag(struct tep_handle *pevent, int flag) in tep_set_flag() argument
541 __data2host2(struct tep_handle *pevent, unsigned short data) in __data2host2()
555 __data2host4(struct tep_handle *pevent, unsigned int data) in __data2host4()
571 __data2host8(struct tep_handle *pevent, unsigned long long data) in __data2host8()
618 int tep_set_function_resolver(struct tep_handle *pevent,
620 void tep_reset_function_resolver(struct tep_handle *pevent);
621 int tep_register_comm(struct tep_handle *pevent, const char *comm, int pid);
622 int tep_register_trace_clock(struct tep_handle *pevent, const char *trace_clock);
623 int tep_register_function(struct tep_handle *pevent, char *name,
625 int tep_register_print_string(struct tep_handle *pevent, const char *fmt,
627 int tep_pid_is_registered(struct tep_handle *pevent, int pid);
629 void tep_print_event_task(struct tep_handle *pevent, struct trace_seq *s,
632 void tep_print_event_time(struct tep_handle *pevent, struct trace_seq *s,
636 void tep_print_event_data(struct tep_handle *pevent, struct trace_seq *s,
639 void tep_print_event(struct tep_handle *pevent, struct trace_seq *s,
642 int tep_parse_header_page(struct tep_handle *pevent, char *buf, unsigned long size,
645 enum tep_errno tep_parse_event(struct tep_handle *pevent, const char *buf,
647 enum tep_errno tep_parse_format(struct tep_handle *pevent,
676 int tep_register_event_handler(struct tep_handle *pevent, int id,
679 int tep_unregister_event_handler(struct tep_handle *pevent, int id,
682 int tep_register_print_function(struct tep_handle *pevent,
686 int tep_unregister_print_function(struct tep_handle *pevent,
693 const char *tep_find_function(struct tep_handle *pevent, unsigned long long addr);
695 tep_find_function_address(struct tep_handle *pevent, unsigned long long addr);
696 unsigned long long tep_read_number(struct tep_handle *pevent, const void *ptr, int size);
700 struct event_format *tep_find_event(struct tep_handle *pevent, int id);
703 tep_find_event_by_name(struct tep_handle *pevent, const char *sys, const char *name);
706 tep_find_event_by_record(struct tep_handle *pevent, struct tep_record *record);
708 void tep_data_lat_fmt(struct tep_handle *pevent,
710 int tep_data_type(struct tep_handle *pevent, struct tep_record *rec);
711 struct event_format *tep_data_event_from_type(struct tep_handle *pevent, int type);
712 int tep_data_pid(struct tep_handle *pevent, struct tep_record *rec);
713 int tep_data_preempt_count(struct tep_handle *pevent, struct tep_record *rec);
714 int tep_data_flags(struct tep_handle *pevent, struct tep_record *rec);
715 const char *tep_data_comm_from_pid(struct tep_handle *pevent, int pid);
717 struct cmdline *tep_data_pid_from_comm(struct tep_handle *pevent, const char *comm,
719 int tep_cmdline_pid(struct tep_handle *pevent, struct cmdline *cmdline);
727 int tep_strerror(struct tep_handle *pevent, enum tep_errno errnum,
730 struct event_format **tep_list_events(struct tep_handle *pevent, enum event_sort_type);
734 static inline int tep_get_cpus(struct tep_handle *pevent) in tep_get_cpus()
739 static inline void tep_set_cpus(struct tep_handle *pevent, int cpus) in tep_set_cpus()
744 static inline int tep_get_long_size(struct tep_handle *pevent) in tep_get_long_size()
749 static inline void tep_set_long_size(struct tep_handle *pevent, int long_size) in tep_set_long_size()
754 static inline int tep_get_page_size(struct tep_handle *pevent) in tep_get_page_size()
759 static inline void tep_set_page_size(struct tep_handle *pevent, int _page_size) in tep_set_page_size()
764 static inline int tep_is_file_bigendian(struct tep_handle *pevent) in tep_is_file_bigendian()
769 static inline void tep_set_file_bigendian(struct tep_handle *pevent, int endian) in tep_set_file_bigendian()
774 static inline int tep_is_host_bigendian(struct tep_handle *pevent) in tep_is_host_bigendian()
779 static inline void tep_set_host_bigendian(struct tep_handle *pevent, int endian) in tep_set_host_bigendian()
784 static inline int tep_is_latency_format(struct tep_handle *pevent) in tep_is_latency_format()
789 static inline void tep_set_latency_format(struct tep_handle *pevent, int lat) in tep_set_latency_format()
794 struct tep_handle *tep_alloc(void);
795 void tep_free(struct tep_handle *pevent);
796 void tep_ref(struct tep_handle *pevent);
797 void tep_unref(struct tep_handle *pevent);
808 void tep_print_funcs(struct tep_handle *pevent);
809 void tep_print_printk(struct tep_handle *pevent);
936 struct tep_handle *pevent;
942 struct event_filter *tep_filter_alloc(struct tep_handle *pevent);