Lines Matching refs:tables

108 struct tables {
126 static struct tables tables_global;
1147 struct tables *tables = container_of(dbe, struct tables, dbe);
1155 call_object(tables->evsel_handler, t, "evsel_table");
1165 struct tables *tables = container_of(dbe, struct tables, dbe);
1174 call_object(tables->machine_handler, t, "machine_table");
1184 struct tables *tables = container_of(dbe, struct tables, dbe);
1195 call_object(tables->thread_handler, t, "thread_table");
1205 struct tables *tables = container_of(dbe, struct tables, dbe);
1216 call_object(tables->comm_handler, t, "comm_table");
1226 struct tables *tables = container_of(dbe, struct tables, dbe);
1235 call_object(tables->comm_thread_handler, t, "comm_thread_table");
1245 struct tables *tables = container_of(dbe, struct tables, dbe);
1259 call_object(tables->dso_handler, t, "dso_table");
1269 struct tables *tables = container_of(dbe, struct tables, dbe);
1282 call_object(tables->symbol_handler, t, "symbol_table");
1292 struct tables *tables = container_of(dbe, struct tables, dbe);
1300 call_object(tables->branch_type_handler, t, "branch_type_table");
1310 struct tables *tables = container_of(dbe, struct tables, dbe);
1343 call_object(tables->sample_handler, t, "sample_table");
1350 struct tables *tables = container_of(dbe, struct tables, dbe);
1359 call_object(tables->synth_handler, t, "synth_data");
1367 struct tables *tables = container_of(dbe, struct tables, dbe);
1371 if (es->evsel->core.attr.type == PERF_TYPE_SYNTH && tables->synth_handler)
1379 struct tables *tables = container_of(dbe, struct tables, dbe);
1393 call_object(tables->call_path_handler, t, "call_path_table");
1403 struct tables *tables = container_of(dbe, struct tables, dbe);
1424 call_object(tables->call_return_handler, t, "call_return_table");
1437 struct tables *tables = container_of(dbe, struct tables, dbe);
1452 call_object(tables->context_switch_handler, t, "context_switch");
1509 struct tables *tables = &tables_global;
1519 if (tables->db_export_mode)
1520 db_export__sample(&tables->dbe, event, sample, evsel, al, addr_al);
1601 struct tables *tables = &tables_global;
1603 if (tables->db_export_mode)
1604 db_export__switch(&tables->dbe, event, sample, machine);
1790 tables->handler_name = get_handler(#table_name); \
1791 if (tables->handler_name) \
1792 tables->dbe.export_ ## name = python_export_ ## name; \
1798 static void set_table_handlers(struct tables *tables)
1808 memset(tables, 0, sizeof(struct tables));
1809 if (db_export__init(&tables->dbe))
1823 tables->dbe.crp = NULL;
1833 tables->dbe.crp =
1835 &tables->dbe);
1836 if (!tables->dbe.crp)
1841 tables->dbe.cpr = NULL;
1858 if (tables->dbe.crp)
1859 tables->dbe.cpr = tables->dbe.crp->cpr;
1861 tables->dbe.cpr = call_path_root__new();
1863 if (!tables->dbe.cpr)
1867 tables->db_export_mode = true;
1892 tables->synth_handler = get_handler("synth_data");
1917 struct tables *tables = &tables_global;
1979 set_table_handlers(tables);
1981 if (tables->db_export_mode) {
1982 err = db_export__branch_types(&tables->dbe);
2007 struct tables *tables = &tables_global;
2011 db_export__exit(&tables->dbe);