Lines Matching refs:debugfile
637 char *debugfile; in build_id_cache__find_debug() local
641 debugfile = calloc(1, PATH_MAX); in build_id_cache__find_debug()
642 if (!debugfile) in build_id_cache__find_debug()
645 len = __symbol__join_symfs(debugfile, PATH_MAX, in build_id_cache__find_debug()
647 snprintf(debugfile + len, PATH_MAX - len, "%.2s/%s.debug", sbuild_id, in build_id_cache__find_debug()
651 realname = realpath(debugfile, NULL); in build_id_cache__find_debug()
671 free(debugfile); in build_id_cache__find_debug()
681 char *debugfile = NULL; in build_id_cache__add() local
724 debugfile = build_id_cache__find_debug(sbuild_id, nsi); in build_id_cache__add()
725 if (debugfile) { in build_id_cache__add()
734 if (copyfile_ns(debugfile, filename, in build_id_cache__add()
737 } else if (link(debugfile, filename) && in build_id_cache__add()
739 copyfile(debugfile, filename)) in build_id_cache__add()
784 free(debugfile); in build_id_cache__add()