Lines Matching refs:tables

62 struct tables {  struct
78 static struct tables tables_global; argument
515 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_evsel() local
523 call_object(tables->evsel_handler, t, "evsel_table"); in python_export_evsel()
533 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_machine() local
542 call_object(tables->machine_handler, t, "machine_table"); in python_export_machine()
552 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_thread() local
563 call_object(tables->thread_handler, t, "thread_table"); in python_export_thread()
572 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_comm() local
580 call_object(tables->comm_handler, t, "comm_table"); in python_export_comm()
590 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_comm_thread() local
599 call_object(tables->comm_thread_handler, t, "comm_thread_table"); in python_export_comm_thread()
609 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_dso() local
623 call_object(tables->dso_handler, t, "dso_table"); in python_export_dso()
633 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_symbol() local
646 call_object(tables->symbol_handler, t, "symbol_table"); in python_export_symbol()
656 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_branch_type() local
664 call_object(tables->branch_type_handler, t, "branch_type_table"); in python_export_branch_type()
674 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_sample() local
701 call_object(tables->sample_handler, t, "sample_table"); in python_export_sample()
710 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_call_path() local
724 call_object(tables->call_path_handler, t, "call_path_table"); in python_export_call_path()
734 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_call_return() local
752 call_object(tables->call_return_handler, t, "call_return_table"); in python_export_call_return()
846 struct tables *tables = &tables_global; in python_process_event() local
854 if (tables->db_export_mode) in python_process_event()
855 db_export__sample(&tables->dbe, event, sample, evsel, al); in python_process_event()
884 tables->handler_name = get_handler(#table_name); \
885 if (tables->handler_name) \
886 tables->dbe.export_ ## name = python_export_ ## name; \
892 static void set_table_handlers(struct tables *tables) in set_table_handlers() argument
900 memset(tables, 0, sizeof(struct tables)); in set_table_handlers()
901 if (db_export__init(&tables->dbe)) in set_table_handlers()
914 tables->dbe.crp = NULL; in set_table_handlers()
924 tables->dbe.crp = in set_table_handlers()
926 &tables->dbe); in set_table_handlers()
927 if (!tables->dbe.crp) in set_table_handlers()
931 tables->db_export_mode = true; in set_table_handlers()
955 struct tables *tables = &tables_global; in python_start_script() local
994 set_table_handlers(tables); in python_start_script()
996 if (tables->db_export_mode) { in python_start_script()
997 err = db_export__branch_types(&tables->dbe); in python_start_script()
1012 struct tables *tables = &tables_global; in python_flush_script() local
1014 return db_export__flush(&tables->dbe); in python_flush_script()
1022 struct tables *tables = &tables_global; in python_stop_script() local
1026 db_export__exit(&tables->dbe); in python_stop_script()