Lines Matching defs:dbe
109 struct db_export dbe;
1134 static int python_export_evsel(struct db_export *dbe, struct evsel *evsel)
1136 struct tables *tables = container_of(dbe, struct tables, dbe);
1151 static int python_export_machine(struct db_export *dbe,
1154 struct tables *tables = container_of(dbe, struct tables, dbe);
1170 static int python_export_thread(struct db_export *dbe, struct thread *thread,
1173 struct tables *tables = container_of(dbe, struct tables, dbe);
1191 static int python_export_comm(struct db_export *dbe, struct comm *comm,
1194 struct tables *tables = container_of(dbe, struct tables, dbe);
1212 static int python_export_comm_thread(struct db_export *dbe, u64 db_id,
1215 struct tables *tables = container_of(dbe, struct tables, dbe);
1231 static int python_export_dso(struct db_export *dbe, struct dso *dso,
1234 struct tables *tables = container_of(dbe, struct tables, dbe);
1255 static int python_export_symbol(struct db_export *dbe, struct symbol *sym,
1258 struct tables *tables = container_of(dbe, struct tables, dbe);
1278 static int python_export_branch_type(struct db_export *dbe, u32 branch_type,
1281 struct tables *tables = container_of(dbe, struct tables, dbe);
1296 static void python_export_sample_table(struct db_export *dbe,
1299 struct tables *tables = container_of(dbe, struct tables, dbe);
1335 static void python_export_synth(struct db_export *dbe, struct export_sample *es)
1337 struct tables *tables = container_of(dbe, struct tables, dbe);
1351 static int python_export_sample(struct db_export *dbe,
1354 struct tables *tables = container_of(dbe, struct tables, dbe);
1356 python_export_sample_table(dbe, es);
1359 python_export_synth(dbe, es);
1364 static int python_export_call_path(struct db_export *dbe, struct call_path *cp)
1366 struct tables *tables = container_of(dbe, struct tables, dbe);
1387 static int python_export_call_return(struct db_export *dbe,
1390 struct tables *tables = container_of(dbe, struct tables, dbe);
1418 static int python_export_context_switch(struct db_export *dbe, u64 db_id,
1424 struct tables *tables = container_of(dbe, struct tables, dbe);
1449 struct db_export *dbe = data;
1451 return db_export__call_return(dbe, cr, parent_db_id);
1507 db_export__sample(&tables->dbe, event, sample, evsel, al, addr_al);
1591 db_export__switch(&tables->dbe, event, sample, machine);
1779 tables->dbe.export_ ## name = python_export_ ## name; \
1796 if (db_export__init(&tables->dbe))
1810 tables->dbe.crp = NULL;
1820 tables->dbe.crp =
1822 &tables->dbe);
1823 if (!tables->dbe.crp)
1828 tables->dbe.cpr = NULL;
1845 if (tables->dbe.crp)
1846 tables->dbe.cpr = tables->dbe.crp->cpr;
1848 tables->dbe.cpr = call_path_root__new();
1850 if (!tables->dbe.cpr)
1963 err = db_export__branch_types(&tables->dbe);
1992 db_export__exit(&tables->dbe);