Lines Matching refs:realname
503 char *realname = NULL, *filename; in build_id_cache__cachedir() local
507 realname = nsinfo__realpath(name, nsi); in build_id_cache__cachedir()
510 is_vdso ? DSO__NAME_VDSO : (realname ? realname : name), in build_id_cache__cachedir()
514 free(realname); in build_id_cache__cachedir()
538 const char *realname, in build_id_cache__add_sdt_cache() argument
550 ret = probe_cache__scan_sdt(cache, realname); in build_id_cache__add_sdt_cache()
553 pr_debug4("Found %d SDTs in %s\n", ret, realname); in build_id_cache__add_sdt_cache()
561 #define build_id_cache__add_sdt_cache(sbuild_id, realname, nsi) (0) argument
569 char *realname = NULL; in build_id_cache__find_debug() local
589 realname = realpath(debugfile, NULL); in build_id_cache__find_debug()
590 if (realname && access(realname, R_OK)) in build_id_cache__find_debug()
591 zfree(&realname); in build_id_cache__find_debug()
595 if (realname == NULL) { in build_id_cache__find_debug()
604 &realname); in build_id_cache__find_debug()
614 return realname; in build_id_cache__find_debug()
618 build_id_cache__add(const char *sbuild_id, const char *name, const char *realname, in build_id_cache__add() argument
658 } else if (link(realname, filename) && errno != EEXIST) { in build_id_cache__add()
728 if (realname && in build_id_cache__add()
729 build_id_cache__add_sdt_cache(sbuild_id, realname, nsi) < 0) in build_id_cache__add()
730 pr_debug4("Failed to update/scan SDT cache for %s\n", realname); in build_id_cache__add()
744 char *realname = NULL; in __build_id_cache__add_s() local
749 realname = nsinfo__realpath(name, nsi); in __build_id_cache__add_s()
751 realname = realpath(name, NULL); in __build_id_cache__add_s()
752 if (!realname) in __build_id_cache__add_s()
756 err = build_id_cache__add(sbuild_id, name, realname, nsi, in __build_id_cache__add_s()
760 free(realname); in __build_id_cache__add_s()