Lines Matching refs:tables

100 struct tables {  struct
116 static struct tables tables_global; argument
951 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_evsel() local
959 call_object(tables->evsel_handler, t, "evsel_table"); in python_export_evsel()
969 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_machine() local
978 call_object(tables->machine_handler, t, "machine_table"); in python_export_machine()
988 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_thread() local
999 call_object(tables->thread_handler, t, "thread_table"); in python_export_thread()
1008 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_comm() local
1016 call_object(tables->comm_handler, t, "comm_table"); in python_export_comm()
1026 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_comm_thread() local
1035 call_object(tables->comm_thread_handler, t, "comm_thread_table"); in python_export_comm_thread()
1045 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_dso() local
1059 call_object(tables->dso_handler, t, "dso_table"); in python_export_dso()
1069 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_symbol() local
1082 call_object(tables->symbol_handler, t, "symbol_table"); in python_export_symbol()
1092 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_branch_type() local
1100 call_object(tables->branch_type_handler, t, "branch_type_table"); in python_export_branch_type()
1110 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_sample() local
1138 call_object(tables->sample_handler, t, "sample_table"); in python_export_sample()
1147 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_call_path() local
1161 call_object(tables->call_path_handler, t, "call_path_table"); in python_export_call_path()
1171 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_call_return() local
1189 call_object(tables->call_return_handler, t, "call_return_table"); in python_export_call_return()
1243 struct tables *tables = &tables_global; in python_process_event() local
1251 if (tables->db_export_mode) in python_process_event()
1252 db_export__sample(&tables->dbe, event, sample, evsel, al); in python_process_event()
1379 tables->handler_name = get_handler(#table_name); \
1380 if (tables->handler_name) \
1381 tables->dbe.export_ ## name = python_export_ ## name; \
1387 static void set_table_handlers(struct tables *tables) in set_table_handlers() argument
1397 memset(tables, 0, sizeof(struct tables)); in set_table_handlers()
1398 if (db_export__init(&tables->dbe)) in set_table_handlers()
1412 tables->dbe.crp = NULL; in set_table_handlers()
1422 tables->dbe.crp = in set_table_handlers()
1424 &tables->dbe); in set_table_handlers()
1425 if (!tables->dbe.crp) in set_table_handlers()
1430 tables->dbe.cpr = NULL; in set_table_handlers()
1447 if (tables->dbe.crp) in set_table_handlers()
1448 tables->dbe.cpr = tables->dbe.crp->cpr; in set_table_handlers()
1450 tables->dbe.cpr = call_path_root__new(); in set_table_handlers()
1452 if (!tables->dbe.cpr) in set_table_handlers()
1456 tables->db_export_mode = true; in set_table_handlers()
1496 struct tables *tables = &tables_global; in python_start_script() local
1548 set_table_handlers(tables); in python_start_script()
1550 if (tables->db_export_mode) { in python_start_script()
1551 err = db_export__branch_types(&tables->dbe); in python_start_script()
1568 struct tables *tables = &tables_global; in python_flush_script() local
1570 return db_export__flush(&tables->dbe); in python_flush_script()
1578 struct tables *tables = &tables_global; in python_stop_script() local
1582 db_export__exit(&tables->dbe); in python_stop_script()