Lines Matching refs:tables

102 struct tables {
120 static struct tables tables_global;
981 struct tables *tables = container_of(dbe, struct tables, dbe);
989 call_object(tables->evsel_handler, t, "evsel_table");
999 struct tables *tables = container_of(dbe, struct tables, dbe);
1008 call_object(tables->machine_handler, t, "machine_table");
1018 struct tables *tables = container_of(dbe, struct tables, dbe);
1029 call_object(tables->thread_handler, t, "thread_table");
1039 struct tables *tables = container_of(dbe, struct tables, dbe);
1050 call_object(tables->comm_handler, t, "comm_table");
1060 struct tables *tables = container_of(dbe, struct tables, dbe);
1069 call_object(tables->comm_thread_handler, t, "comm_thread_table");
1079 struct tables *tables = container_of(dbe, struct tables, dbe);
1093 call_object(tables->dso_handler, t, "dso_table");
1103 struct tables *tables = container_of(dbe, struct tables, dbe);
1116 call_object(tables->symbol_handler, t, "symbol_table");
1126 struct tables *tables = container_of(dbe, struct tables, dbe);
1134 call_object(tables->branch_type_handler, t, "branch_type_table");
1144 struct tables *tables = container_of(dbe, struct tables, dbe);
1174 call_object(tables->sample_handler, t, "sample_table");
1181 struct tables *tables = container_of(dbe, struct tables, dbe);
1190 call_object(tables->synth_handler, t, "synth_data");
1198 struct tables *tables = container_of(dbe, struct tables, dbe);
1202 if (es->evsel->core.attr.type == PERF_TYPE_SYNTH && tables->synth_handler)
1210 struct tables *tables = container_of(dbe, struct tables, dbe);
1224 call_object(tables->call_path_handler, t, "call_path_table");
1234 struct tables *tables = container_of(dbe, struct tables, dbe);
1255 call_object(tables->call_return_handler, t, "call_return_table");
1268 struct tables *tables = container_of(dbe, struct tables, dbe);
1283 call_object(tables->context_switch_handler, t, "context_switch");
1338 struct tables *tables = &tables_global;
1346 if (tables->db_export_mode)
1347 db_export__sample(&tables->dbe, event, sample, evsel, al);
1357 struct tables *tables = &tables_global;
1359 if (tables->db_export_mode)
1360 db_export__switch(&tables->dbe, event, sample, machine);
1484 tables->handler_name = get_handler(#table_name); \
1485 if (tables->handler_name) \
1486 tables->dbe.export_ ## name = python_export_ ## name; \
1492 static void set_table_handlers(struct tables *tables)
1502 memset(tables, 0, sizeof(struct tables));
1503 if (db_export__init(&tables->dbe))
1517 tables->dbe.crp = NULL;
1527 tables->dbe.crp =
1529 &tables->dbe);
1530 if (!tables->dbe.crp)
1535 tables->dbe.cpr = NULL;
1552 if (tables->dbe.crp)
1553 tables->dbe.cpr = tables->dbe.crp->cpr;
1555 tables->dbe.cpr = call_path_root__new();
1557 if (!tables->dbe.cpr)
1561 tables->db_export_mode = true;
1586 tables->synth_handler = get_handler("synth_data");
1610 struct tables *tables = &tables_global;
1665 set_table_handlers(tables);
1667 if (tables->db_export_mode) {
1668 err = db_export__branch_types(&tables->dbe);
1693 struct tables *tables = &tables_global;
1697 db_export__exit(&tables->dbe);