Lines Matching refs:debugfile
613 char *debugfile; in build_id_cache__find_debug() local
617 debugfile = calloc(1, PATH_MAX); in build_id_cache__find_debug()
618 if (!debugfile) in build_id_cache__find_debug()
621 len = __symbol__join_symfs(debugfile, PATH_MAX, in build_id_cache__find_debug()
623 snprintf(debugfile + len, PATH_MAX - len, "%.2s/%s.debug", sbuild_id, in build_id_cache__find_debug()
627 realname = realpath(debugfile, NULL); in build_id_cache__find_debug()
632 free(debugfile); in build_id_cache__find_debug()
642 char *debugfile = NULL; in build_id_cache__add_s() local
694 debugfile = build_id_cache__find_debug(sbuild_id, nsi); in build_id_cache__add_s()
695 if (debugfile) { in build_id_cache__add_s()
704 if (copyfile_ns(debugfile, filename, in build_id_cache__add_s()
707 } else if (link(debugfile, filename) && in build_id_cache__add_s()
709 copyfile(debugfile, filename)) in build_id_cache__add_s()
739 free(debugfile); in build_id_cache__add_s()