Lines Matching refs:tep_handle

45 struct tep_handle;
53 typedef int (*tep_plugin_load_func)(struct tep_handle *tep);
54 typedef int (*tep_plugin_unload_func)(struct tep_handle *tep);
271 struct tep_handle *tep;
391 int tep_add_plugin_path(struct tep_handle *tep, char *path,
393 struct tep_plugin_list *tep_load_plugins(struct tep_handle *tep);
395 struct tep_handle *tep);
396 void tep_load_plugins_hook(struct tep_handle *tep, const char *suffix,
397 void (*load_plugin)(struct tep_handle *tep,
416 void tep_set_flag(struct tep_handle *tep, int flag);
417 void tep_clear_flag(struct tep_handle *tep, enum tep_flag flag);
418 bool tep_test_flag(struct tep_handle *tep, enum tep_flag flags);
438 int tep_set_function_resolver(struct tep_handle *tep,
440 void tep_reset_function_resolver(struct tep_handle *tep);
441 int tep_register_comm(struct tep_handle *tep, const char *comm, int pid);
442 int tep_override_comm(struct tep_handle *tep, const char *comm, int pid);
443 int tep_register_function(struct tep_handle *tep, char *name,
445 int tep_register_print_string(struct tep_handle *tep, const char *fmt,
447 bool tep_is_pid_registered(struct tep_handle *tep, int pid);
449 struct tep_event *tep_get_event(struct tep_handle *tep, int index);
460 void tep_print_event(struct tep_handle *tep, struct trace_seq *s,
464 int tep_parse_header_page(struct tep_handle *tep, char *buf, unsigned long size,
467 enum tep_errno tep_parse_event(struct tep_handle *tep, const char *buf,
469 enum tep_errno tep_parse_format(struct tep_handle *tep,
501 int tep_register_event_handler(struct tep_handle *tep, int id,
504 int tep_unregister_event_handler(struct tep_handle *tep, int id,
507 int tep_register_print_function(struct tep_handle *tep,
511 int tep_unregister_print_function(struct tep_handle *tep,
518 const char *tep_find_function(struct tep_handle *tep, unsigned long long addr);
520 tep_find_function_address(struct tep_handle *tep, unsigned long long addr);
521 unsigned long long tep_read_number(struct tep_handle *tep, const void *ptr, int size);
525 struct tep_event *tep_get_first_event(struct tep_handle *tep);
526 int tep_get_events_count(struct tep_handle *tep);
527 struct tep_event *tep_find_event(struct tep_handle *tep, int id);
530 tep_find_event_by_name(struct tep_handle *tep, const char *sys, const char *name);
532 tep_find_event_by_record(struct tep_handle *tep, struct tep_record *record);
534 int tep_data_type(struct tep_handle *tep, struct tep_record *rec);
535 int tep_data_pid(struct tep_handle *tep, struct tep_record *rec);
536 int tep_data_preempt_count(struct tep_handle *tep, struct tep_record *rec);
537 int tep_data_flags(struct tep_handle *tep, struct tep_record *rec);
538 const char *tep_data_comm_from_pid(struct tep_handle *tep, int pid);
540 struct tep_cmdline *tep_data_pid_from_comm(struct tep_handle *tep, const char *comm,
542 int tep_cmdline_pid(struct tep_handle *tep, struct tep_cmdline *cmdline);
548 int tep_strerror(struct tep_handle *tep, enum tep_errno errnum,
551 struct tep_event **tep_list_events(struct tep_handle *tep, enum tep_event_sort_type);
552 struct tep_event **tep_list_events_copy(struct tep_handle *tep,
561 int tep_get_cpus(struct tep_handle *tep);
562 void tep_set_cpus(struct tep_handle *tep, int cpus);
563 int tep_get_long_size(struct tep_handle *tep);
564 void tep_set_long_size(struct tep_handle *tep, int long_size);
565 int tep_get_page_size(struct tep_handle *tep);
566 void tep_set_page_size(struct tep_handle *tep, int _page_size);
567 bool tep_is_file_bigendian(struct tep_handle *tep);
568 void tep_set_file_bigendian(struct tep_handle *tep, enum tep_endian endian);
569 bool tep_is_local_bigendian(struct tep_handle *tep);
570 void tep_set_local_bigendian(struct tep_handle *tep, enum tep_endian endian);
571 int tep_get_header_page_size(struct tep_handle *tep);
572 int tep_get_header_timestamp_size(struct tep_handle *tep);
573 bool tep_is_old_format(struct tep_handle *tep);
574 void tep_set_test_filters(struct tep_handle *tep, int test_filters);
576 struct tep_handle *tep_alloc(void);
577 void tep_free(struct tep_handle *tep);
578 void tep_ref(struct tep_handle *tep);
579 void tep_unref(struct tep_handle *tep);
580 int tep_get_ref(struct tep_handle *tep);
583 void tep_print_funcs(struct tep_handle *tep);
584 void tep_print_printk(struct tep_handle *tep);
711 struct tep_handle *tep;
717 struct tep_event_filter *tep_filter_alloc(struct tep_handle *tep);