Lines Matching refs:cp
383 struct call_path *cp = call_path_from_sample(dbe, al->maps->machine, in db_export__sample() local
386 if (cp) { in db_export__sample()
387 db_export__call_path(dbe, cp); in db_export__sample()
388 es.call_path_id = cp->db_id; in db_export__sample()
479 int db_export__call_path(struct db_export *dbe, struct call_path *cp) in db_export__call_path() argument
483 if (cp->db_id) in db_export__call_path()
486 if (cp->parent) { in db_export__call_path()
487 err = db_export__call_path(dbe, cp->parent); in db_export__call_path()
492 cp->db_id = ++dbe->call_path_last_db_id; in db_export__call_path()
495 return dbe->export_call_path(dbe, cp); in db_export__call_path()
505 err = db_export__call_path(dbe, cr->cp); in db_export__call_return()