Lines Matching refs:debugfile
628 char *debugfile; in build_id_cache__find_debug() local
632 debugfile = calloc(1, PATH_MAX); in build_id_cache__find_debug()
633 if (!debugfile) in build_id_cache__find_debug()
636 len = __symbol__join_symfs(debugfile, PATH_MAX, in build_id_cache__find_debug()
638 snprintf(debugfile + len, PATH_MAX - len, "%.2s/%s.debug", sbuild_id, in build_id_cache__find_debug()
642 realname = realpath(debugfile, NULL); in build_id_cache__find_debug()
662 free(debugfile); in build_id_cache__find_debug()
672 char *debugfile = NULL; in build_id_cache__add_s() local
724 debugfile = build_id_cache__find_debug(sbuild_id, nsi); in build_id_cache__add_s()
725 if (debugfile) { in build_id_cache__add_s()
734 if (copyfile_ns(debugfile, filename, in build_id_cache__add_s()
737 } else if (link(debugfile, filename) && in build_id_cache__add_s()
739 copyfile(debugfile, filename)) in build_id_cache__add_s()
769 free(debugfile); in build_id_cache__add_s()