Lines Matching refs:cp
396 struct call_path *cp = call_path_from_sample(dbe, al->machine, in db_export__sample() local
399 if (cp) { in db_export__sample()
400 db_export__call_path(dbe, cp); in db_export__sample()
401 es.call_path_id = cp->db_id; in db_export__sample()
470 int db_export__call_path(struct db_export *dbe, struct call_path *cp) in db_export__call_path() argument
474 if (cp->db_id) in db_export__call_path()
477 if (cp->parent) { in db_export__call_path()
478 err = db_export__call_path(dbe, cp->parent); in db_export__call_path()
483 cp->db_id = ++dbe->call_path_last_db_id; in db_export__call_path()
486 return dbe->export_call_path(dbe, cp); in db_export__call_path()
498 err = db_export__call_path(dbe, cr->cp); in db_export__call_return()