Lines Matching refs:tables

105 struct tables {  struct
123 static struct tables tables_global; argument
1103 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_evsel() local
1111 call_object(tables->evsel_handler, t, "evsel_table"); in python_export_evsel()
1121 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_machine() local
1130 call_object(tables->machine_handler, t, "machine_table"); in python_export_machine()
1140 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_thread() local
1151 call_object(tables->thread_handler, t, "thread_table"); in python_export_thread()
1161 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_comm() local
1172 call_object(tables->comm_handler, t, "comm_table"); in python_export_comm()
1182 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_comm_thread() local
1191 call_object(tables->comm_thread_handler, t, "comm_thread_table"); in python_export_comm_thread()
1201 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_dso() local
1215 call_object(tables->dso_handler, t, "dso_table"); in python_export_dso()
1225 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_symbol() local
1238 call_object(tables->symbol_handler, t, "symbol_table"); in python_export_symbol()
1248 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_branch_type() local
1256 call_object(tables->branch_type_handler, t, "branch_type_table"); in python_export_branch_type()
1266 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_sample_table() local
1297 call_object(tables->sample_handler, t, "sample_table"); in python_export_sample_table()
1304 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_synth() local
1313 call_object(tables->synth_handler, t, "synth_data"); in python_export_synth()
1321 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_sample() local
1325 if (es->evsel->core.attr.type == PERF_TYPE_SYNTH && tables->synth_handler) in python_export_sample()
1333 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_call_path() local
1347 call_object(tables->call_path_handler, t, "call_path_table"); in python_export_call_path()
1357 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_call_return() local
1378 call_object(tables->call_return_handler, t, "call_return_table"); in python_export_call_return()
1391 struct tables *tables = container_of(dbe, struct tables, dbe); in python_export_context_switch() local
1406 call_object(tables->context_switch_handler, t, "context_switch"); in python_export_context_switch()
1463 struct tables *tables = &tables_global; in python_process_event() local
1473 if (tables->db_export_mode) in python_process_event()
1474 db_export__sample(&tables->dbe, event, sample, evsel, al, addr_al); in python_process_event()
1555 struct tables *tables = &tables_global; in python_process_switch() local
1557 if (tables->db_export_mode) in python_process_switch()
1558 db_export__switch(&tables->dbe, event, sample, machine); in python_process_switch()
1744 tables->handler_name = get_handler(#table_name); \
1745 if (tables->handler_name) \
1746 tables->dbe.export_ ## name = python_export_ ## name; \
1752 static void set_table_handlers(struct tables *tables) in set_table_handlers() argument
1762 memset(tables, 0, sizeof(struct tables)); in set_table_handlers()
1763 if (db_export__init(&tables->dbe)) in set_table_handlers()
1777 tables->dbe.crp = NULL; in set_table_handlers()
1787 tables->dbe.crp = in set_table_handlers()
1789 &tables->dbe); in set_table_handlers()
1790 if (!tables->dbe.crp) in set_table_handlers()
1795 tables->dbe.cpr = NULL; in set_table_handlers()
1812 if (tables->dbe.crp) in set_table_handlers()
1813 tables->dbe.cpr = tables->dbe.crp->cpr; in set_table_handlers()
1815 tables->dbe.cpr = call_path_root__new(); in set_table_handlers()
1817 if (!tables->dbe.cpr) in set_table_handlers()
1821 tables->db_export_mode = true; in set_table_handlers()
1846 tables->synth_handler = get_handler("synth_data"); in set_table_handlers()
1871 struct tables *tables = &tables_global; in python_start_script() local
1927 set_table_handlers(tables); in python_start_script()
1929 if (tables->db_export_mode) { in python_start_script()
1930 err = db_export__branch_types(&tables->dbe); in python_start_script()
1955 struct tables *tables = &tables_global; in python_stop_script() local
1959 db_export__exit(&tables->dbe); in python_stop_script()