main_thread);
if (err)
goto out_put;
main_thread);
if (err)
goto out_put;
+ if (comm) {
+ err = db_export__exec_comm(dbe, comm, main_thread);
+ if (err)
+ goto out_put;
+ es.comm_db_id = comm->db_id;
+ }
}
if (thread != main_thread) {
}
if (thread != main_thread) {
- if (comm) {
- err = db_export__exec_comm(dbe, comm, main_thread);
- if (err)
- goto out_put;
- es.comm_db_id = comm->db_id;
- }
-
es.db_id = ++dbe->sample_last_db_id;
err = db_ids_from_al(dbe, al, &es.dso_db_id, &es.sym_db_id, &es.offset);
es.db_id = ++dbe->sample_last_db_id;
err = db_ids_from_al(dbe, al, &es.dso_db_id, &es.sym_db_id, &es.offset);