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);
270 struct tep_handle *tep;
390 int tep_add_plugin_path(struct tep_handle *tep, char *path,
392 struct tep_plugin_list *tep_load_plugins(struct tep_handle *tep);
394 struct tep_handle *tep);
395 void tep_load_plugins_hook(struct tep_handle *tep, const char *suffix,
396 void (*load_plugin)(struct tep_handle *tep,
415 void tep_set_flag(struct tep_handle *tep, int flag);
416 void tep_clear_flag(struct tep_handle *tep, enum tep_flag flag);
417 bool tep_test_flag(struct tep_handle *tep, enum tep_flag flags);
437 int tep_set_function_resolver(struct tep_handle *tep,
439 void tep_reset_function_resolver(struct tep_handle *tep);
440 int tep_register_comm(struct tep_handle *tep, const char *comm, int pid);
441 int tep_override_comm(struct tep_handle *tep, const char *comm, int pid);
442 int tep_register_function(struct tep_handle *tep, char *name,
444 int tep_register_print_string(struct tep_handle *tep, const char *fmt,
446 bool tep_is_pid_registered(struct tep_handle *tep, int pid);
448 struct tep_event *tep_get_event(struct tep_handle *tep, int index);
459 void tep_print_event(struct tep_handle *tep, struct trace_seq *s,
463 int tep_parse_header_page(struct tep_handle *tep, char *buf, unsigned long size,
466 enum tep_errno tep_parse_event(struct tep_handle *tep, const char *buf,
468 enum tep_errno tep_parse_format(struct tep_handle *tep,
500 int tep_register_event_handler(struct tep_handle *tep, int id,
503 int tep_unregister_event_handler(struct tep_handle *tep, int id,
506 int tep_register_print_function(struct tep_handle *tep,
510 int tep_unregister_print_function(struct tep_handle *tep,
517 const char *tep_find_function(struct tep_handle *tep, unsigned long long addr);
519 tep_find_function_address(struct tep_handle *tep, unsigned long long addr);
520 unsigned long long tep_read_number(struct tep_handle *tep, const void *ptr, int size);
524 struct tep_event *tep_get_first_event(struct tep_handle *tep);
525 int tep_get_events_count(struct tep_handle *tep);
526 struct tep_event *tep_find_event(struct tep_handle *tep, int id);
529 tep_find_event_by_name(struct tep_handle *tep, const char *sys, const char *name);
531 tep_find_event_by_record(struct tep_handle *tep, struct tep_record *record);
533 int tep_data_type(struct tep_handle *tep, struct tep_record *rec);
534 int tep_data_pid(struct tep_handle *tep, struct tep_record *rec);
535 int tep_data_preempt_count(struct tep_handle *tep, struct tep_record *rec);
536 int tep_data_flags(struct tep_handle *tep, struct tep_record *rec);
537 const char *tep_data_comm_from_pid(struct tep_handle *tep, int pid);
539 struct tep_cmdline *tep_data_pid_from_comm(struct tep_handle *tep, const char *comm,
541 int tep_cmdline_pid(struct tep_handle *tep, struct tep_cmdline *cmdline);
547 int tep_strerror(struct tep_handle *tep, enum tep_errno errnum,
550 struct tep_event **tep_list_events(struct tep_handle *tep, enum tep_event_sort_type);
551 struct tep_event **tep_list_events_copy(struct tep_handle *tep,
560 int tep_get_cpus(struct tep_handle *tep);
561 void tep_set_cpus(struct tep_handle *tep, int cpus);
562 int tep_get_long_size(struct tep_handle *tep);
563 void tep_set_long_size(struct tep_handle *tep, int long_size);
564 int tep_get_page_size(struct tep_handle *tep);
565 void tep_set_page_size(struct tep_handle *tep, int _page_size);
566 bool tep_is_file_bigendian(struct tep_handle *tep);
567 void tep_set_file_bigendian(struct tep_handle *tep, enum tep_endian endian);
568 bool tep_is_local_bigendian(struct tep_handle *tep);
569 void tep_set_local_bigendian(struct tep_handle *tep, enum tep_endian endian);
570 int tep_get_header_page_size(struct tep_handle *tep);
571 int tep_get_header_timestamp_size(struct tep_handle *tep);
572 bool tep_is_old_format(struct tep_handle *tep);
573 void tep_set_test_filters(struct tep_handle *tep, int test_filters);
575 struct tep_handle *tep_alloc(void);
576 void tep_free(struct tep_handle *tep);
577 void tep_ref(struct tep_handle *tep);
578 void tep_unref(struct tep_handle *tep);
579 int tep_get_ref(struct tep_handle *tep);
582 void tep_print_funcs(struct tep_handle *tep);
583 void tep_print_printk(struct tep_handle *tep);
710 struct tep_handle *tep;
716 struct tep_event_filter *tep_filter_alloc(struct tep_handle *tep);