Lines Matching refs:debugfile
621 char *debugfile; in build_id_cache__find_debug() local
625 debugfile = calloc(1, PATH_MAX); in build_id_cache__find_debug()
626 if (!debugfile) in build_id_cache__find_debug()
629 len = __symbol__join_symfs(debugfile, PATH_MAX, in build_id_cache__find_debug()
631 snprintf(debugfile + len, PATH_MAX - len, "%.2s/%s.debug", sbuild_id, in build_id_cache__find_debug()
635 realname = realpath(debugfile, NULL); in build_id_cache__find_debug()
640 free(debugfile); in build_id_cache__find_debug()
650 char *debugfile = NULL; in build_id_cache__add_s() local
702 debugfile = build_id_cache__find_debug(sbuild_id, nsi); in build_id_cache__add_s()
703 if (debugfile) { in build_id_cache__add_s()
712 if (copyfile_ns(debugfile, filename, in build_id_cache__add_s()
715 } else if (link(debugfile, filename) && in build_id_cache__add_s()
717 copyfile(debugfile, filename)) in build_id_cache__add_s()
747 free(debugfile); in build_id_cache__add_s()