Lines Matching refs:cp
394 struct call_path *cp = call_path_from_sample(dbe, machine, in db_export__sample() local
397 if (cp) { in db_export__sample()
398 db_export__call_path(dbe, cp); in db_export__sample()
399 es.call_path_id = cp->db_id; in db_export__sample()
488 int db_export__call_path(struct db_export *dbe, struct call_path *cp) in db_export__call_path() argument
492 if (cp->db_id) in db_export__call_path()
495 if (cp->parent) { in db_export__call_path()
496 err = db_export__call_path(dbe, cp->parent); in db_export__call_path()
501 cp->db_id = ++dbe->call_path_last_db_id; in db_export__call_path()
504 return dbe->export_call_path(dbe, cp); in db_export__call_path()
514 err = db_export__call_path(dbe, cr->cp); in db_export__call_return()